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.
This class represents the media:group element of Media RSS.
It allows the grouping of media:content elements that are different representations of the same content. When it exists, it is a child of an Entry (Atom) or Item (RSS).
Zend_Gdata_YouTube_Extension_Duration $_duration = 'null'
Zend_Gdata_YouTube_Extension_MediaCredit $_mediacredit = 'null'
Zend_Gdata_YouTube_Extension_MediaRating $_mediarating = 'null'
Zend_Gdata_YouTube_Extension_Private $_private = 'null'
$_rootElement = 'group'
$_rootNamespace = 'media'
Zend_Gdata_YouTube_Extension_Uploaded $_uploaded = 'null'
Zend_Gdata_YouTube_Extension_VideoId $_videoid = 'null'
__construct(
$element
=
null
)
:
getDOM(
$doc
=
null, $majorVersion
=
1, $minorVersion
=
null
)
:
getDuration(
)
:
Zend_Gdata_YouTube_Extension_Duration
Returns the duration value of this element
getMediaCredit(
)
:
Zend_Gdata_YouTube_Extension_MediaCredit
Returns the media:credit value of this element
getMediaRating(
)
:
Zend_Gdata_YouTube_Extension_MediaRating
Returns the rating value of this element
getPrivate(
)
:
Zend_Gdata_YouTube_Extension_Private
Returns the private value of this element
getUploaded(
)
:
Zend_Gdata_YouTube_Extension_Uploaded
Returns the yt:uploaded element
getVideoId(
)
:
Zend_Gdata_YouTube_Extension_VideoId
Returns the videoid value of this element
setDuration(
Zend_Gdata_YouTube_Extension_Duration $value
)
:
Zend_Gdata_YouTube_Extension_MediaGroup
Sets the duration value of this element
setMediaCredit(
Zend_Gdata_YouTube_Extension_MediaCredit $value
)
:
Zend_Gdata_YouTube_Extension_MediaGroup
Sets the media:credit value of this element
setMediaRating(
Zend_Gdata_YouTube_Extension_MediaRating $value
)
:
Zend_Gdata_YouTube_Extension_MediaGroup
Sets the media:rating value of this element
setPrivate(
Zend_Gdata_YouTube_Extension_Private $value
)
:
Zend_Gdata_YouTube_Extension_MediaGroup
Sets the private value of this element
setUploaded(
Zend_Gdata_YouTube_Extension_Uploaded $value
)
:
Zend_Gdata_YouTube_Extension_MediaGroup
Sets the yt:uploaded element
setVideoId(
Zend_Gdata_YouTube_Extension_VideoId $value
)
:
Zend_Gdata_YouTube_Extension_MediaGroup
Sets the videoid value of this element
takeChildFromDOM(
DOMNode $child
)
:
Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.