diff options
Diffstat (limited to 'zend/library/Zend/Gdata/YouTube/PlaylistVideoFeed.php')
| -rw-r--r-- | zend/library/Zend/Gdata/YouTube/PlaylistVideoFeed.php | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/zend/library/Zend/Gdata/YouTube/PlaylistVideoFeed.php b/zend/library/Zend/Gdata/YouTube/PlaylistVideoFeed.php new file mode 100644 index 0000000..e4b2b1b --- /dev/null +++ b/zend/library/Zend/Gdata/YouTube/PlaylistVideoFeed.php @@ -0,0 +1,68 @@ +<?php + +/** + * Zend Framework + * + * LICENSE + * + * This source file is subject to the new BSD license that is bundled + * with this package in the file LICENSE.txt. + * It is also available through the world-wide-web at this URL: + * http://framework.zend.com/license/new-bsd + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@zend.com so we can send you a copy immediately. + * + * @category Zend + * @package Zend_Gdata + * @subpackage YouTube + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) + * @license http://framework.zend.com/license/new-bsd New BSD License + * @version $Id: PlaylistVideoFeed.php 24593 2012-01-05 20:35:02Z matthew $ + */ + +/** + * @see Zend_Gdata_Media_Feed + */ +require_once 'Zend/Gdata/Media/Feed.php'; + +/** + * @see Zend_Gdata_YouTube_PlaylistVideoEntry + */ +require_once 'Zend/Gdata/YouTube/PlaylistVideoEntry.php'; + +/** + * The YouTube video playlist flavor of an Atom Feed with media support + * Represents a list of videos contained in a playlist. Each entry in this + * feed represents an individual video. + * + * @category Zend + * @package Zend_Gdata + * @subpackage YouTube + * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) + * @license http://framework.zend.com/license/new-bsd New BSD License + */ +class Zend_Gdata_YouTube_PlaylistVideoFeed extends Zend_Gdata_Media_Feed +{ + + /** + * The classname for individual feed elements. + * + * @var string + */ + protected $_entryClassName = 'Zend_Gdata_YouTube_PlaylistVideoEntry'; + + /** + * Creates a Play Video feed, representing a list of videos contained + * within a single playlist. + * + * @param DOMElement $element (optional) DOMElement from which this + * object should be constructed. + */ + public function __construct($element = null) + { + $this->registerAllNamespaces(Zend_Gdata_YouTube::$namespaces); + parent::__construct($element); + } + +} |
