AnnotationLink.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_Gdata
  17. * @subpackage Books
  18. * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc.
  19. * (http://www.zend.com)
  20. * @license http://framework.zend.com/license/new-bsd New BSD License
  21. */
  22. /**
  23. * @see Zend_Gdata_Books_Extension_BooksLink
  24. */
  25. require_once 'Zend/Gdata/Books/Extension/BooksLink.php';
  26. /**
  27. * Describes an annotation link
  28. *
  29. * @category Zend
  30. * @package Zend_Gdata
  31. * @subpackage Books
  32. * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc.
  33. * (http://www.zend.com)
  34. * @license http://framework.zend.com/license/new-bsd New BSD License
  35. */
  36. class Zend_Gdata_Books_Extension_AnnotationLink extends
  37. Zend_Gdata_Books_Extension_BooksLink
  38. {
  39. /**
  40. * Constructor for Zend_Gdata_Books_Extension_AnnotationLink which
  41. * Describes an annotation link
  42. *
  43. * @param string|null $href Linked resource URI
  44. * @param string|null $rel Forward relationship
  45. * @param string|null $type Resource MIME type
  46. * @param string|null $hrefLang Resource language
  47. * @param string|null $title Human-readable resource title
  48. * @param string|null $length Resource length in octets
  49. * @param DOMElement $element (optional) DOMElement from which this
  50. * object should be constructed.
  51. */
  52. public function __construct($href = null, $rel = null, $type = null,
  53. $hrefLang = null, $title = null, $length = null)
  54. {
  55. $this->registerAllNamespaces(Zend_Gdata_Books::$namespaces);
  56. parent::__construct($href, $rel, $type, $hrefLang, $title, $length);
  57. }
  58. }