|
1 <?php |
|
2 |
|
3 /** |
|
4 * Zend Framework |
|
5 * |
|
6 * LICENSE |
|
7 * |
|
8 * This source file is subject to the new BSD license that is bundled |
|
9 * with this package in the file LICENSE.txt. |
|
10 * It is also available through the world-wide-web at this URL: |
|
11 * http://framework.zend.com/license/new-bsd |
|
12 * If you did not receive a copy of the license and are unable to |
|
13 * obtain it through the world-wide-web, please send an email |
|
14 * to license@zend.com so we can send you a copy immediately. |
|
15 * |
|
16 * @category Zend |
|
17 * @package Zend_Gdata |
|
18 * @subpackage YouTube |
|
19 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
20 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
21 * @version $Id: SubscriptionFeed.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
22 */ |
|
23 |
|
24 /** |
|
25 * @see Zend_Gdata_Media_Feed |
|
26 */ |
|
27 require_once 'Zend/Gdata/Media/Feed.php'; |
|
28 |
|
29 /** |
|
30 * @see Zend_Gdata_YouTube_SubscriptionEntry |
|
31 */ |
|
32 require_once 'Zend/Gdata/YouTube/SubscriptionEntry.php'; |
|
33 |
|
34 /** |
|
35 * The YouTube video subscription list flavor of an Atom Feed with media support |
|
36 * Represents a list of individual subscriptions, where each contained entry is |
|
37 * a subscription. |
|
38 * |
|
39 * @category Zend |
|
40 * @package Zend_Gdata |
|
41 * @subpackage YouTube |
|
42 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
43 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
44 */ |
|
45 class Zend_Gdata_YouTube_SubscriptionFeed extends Zend_Gdata_Media_Feed |
|
46 { |
|
47 |
|
48 /** |
|
49 * The classname for individual feed elements. |
|
50 * |
|
51 * @var string |
|
52 */ |
|
53 protected $_entryClassName = 'Zend_Gdata_YouTube_SubscriptionEntry'; |
|
54 |
|
55 /** |
|
56 * Creates a Subscription feed, representing a list of subscriptions, |
|
57 * usually associated with an individual user. |
|
58 * |
|
59 * @param DOMElement $element (optional) DOMElement from which this |
|
60 * object should be constructed. |
|
61 */ |
|
62 public function __construct($element = null) |
|
63 { |
|
64 $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces); |
|
65 parent::__construct($element); |
|
66 } |
|
67 |
|
68 } |