/src/Zend/Media/Id3/Language.php

http://php-reader.googlecode.com/ · PHP · 56 lines · 6 code · 2 blank · 48 comment · 0 complexity · c373047308eacc51a7885acd27866eea MD5 · raw file

  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Media
  17. * @subpackage ID3
  18. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id: Language.php 177 2010-03-09 13:13:34Z svollbehr $
  21. */
  22. /**
  23. * The <var>Zend_Media_Id3_Language</var> interface implies that the
  24. * implementing ID3v2 frame supports its content to be given in multiple
  25. * languages.
  26. *
  27. * The three byte language code is used to describe the language of the frame's
  28. * content, according to {@link http://www.loc.gov/standards/iso639-2/
  29. * ISO-639-2}. The language should be represented in lower case. If the language
  30. * is not known the string 'und' should be used.
  31. *
  32. * @category Zend
  33. * @package Zend_Media
  34. * @subpackage ID3
  35. * @author Sven Vollbehr <sven@vollbehr.eu>
  36. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  37. * @license http://framework.zend.com/license/new-bsd New BSD License
  38. * @version $Id: Language.php 177 2010-03-09 13:13:34Z svollbehr $
  39. */
  40. interface Zend_Media_Id3_Language
  41. {
  42. /**
  43. * Returns the text language code.
  44. *
  45. * @return string
  46. */
  47. public function getLanguage();
  48. /**
  49. * Sets the text language code.
  50. *
  51. * @param string $language The text language code.
  52. */
  53. public function setLanguage($language);
  54. }