InfoLink.php 1.8 KB

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