2
0

SubscriptionFeed.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 YouTube
  18. * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. */
  21. /**
  22. * @see Zend_Gdata_Media_Feed
  23. */
  24. require_once 'Zend/Gdata/Media/Feed.php';
  25. /**
  26. * @see Zend_Gdata_YouTube_SubscriptionEntry
  27. */
  28. require_once 'Zend/Gdata/YouTube/SubscriptionEntry.php';
  29. /**
  30. * The YouTube video subscription list flavor of an Atom Feed with media support
  31. * Represents a list of individual subscriptions, where each contained entry is
  32. * a subscription.
  33. *
  34. * @category Zend
  35. * @package Zend_Gdata
  36. * @subpackage YouTube
  37. * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
  38. * @license http://framework.zend.com/license/new-bsd New BSD License
  39. */
  40. class Zend_Gdata_YouTube_SubscriptionFeed extends Zend_Gdata_Media_Feed
  41. {
  42. /**
  43. * The classname for individual feed elements.
  44. *
  45. * @var string
  46. */
  47. protected $_entryClassName = 'Zend_Gdata_YouTube_SubscriptionEntry';
  48. /**
  49. * Creates a Subscription feed, representing a list of subscriptions,
  50. * usually associated with an individual user.
  51. *
  52. * @param DOMElement $element (optional) DOMElement from which this
  53. * object should be constructed.
  54. */
  55. public function __construct($element = null)
  56. {
  57. $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces);
  58. parent::__construct($element);
  59. }
  60. }