Gdata/YouTube/Extension/MediaGroup.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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- YouTube
- Version
- $Id$
\Zend_Gdata_YouTube_Extension_MediaGroup
Package: Zend_Gdata\YouTube
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).
- Parent(s)
- \Zend_Gdata_Media_Extension_MediaGroup < \Zend_Gdata_Extension < \Zend_Gdata_App_Extension < \Zend_Gdata_App_Base
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
getDOM( $doc = null, $majorVersion = 1, $minorVersion = null) : void
Parameters
Name | Type | Description |
---|---|---|
$doc | ||
$majorVersion | ||
$minorVersion |
getDuration() : \Zend_Gdata_YouTube_Extension_Duration
Returns the duration value of this element
Returns
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Duration |
getMediaCredit() : \Zend_Gdata_YouTube_Extension_MediaCredit
Returns the media:credit value of this element
Returns
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaCredit |
getMediaRating() : \Zend_Gdata_YouTube_Extension_MediaRating
Returns the rating value of this element
Returns
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaRating |
getPrivate() : \Zend_Gdata_YouTube_Extension_Private
Returns the private value of this element
Returns
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Private |
getUploaded() : \Zend_Gdata_YouTube_Extension_Uploaded
Returns the yt:uploaded element
Returns
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Uploaded |
getVideoId() : \Zend_Gdata_YouTube_Extension_VideoId
Returns the videoid value of this element
Returns
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_VideoId |
setDuration(\Zend_Gdata_YouTube_Extension_Duration $value) : \Zend_Gdata_YouTube_Extension_MediaGroup
Sets the duration value of this element
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_YouTube_Extension_Duration | The duration value |
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaGroup | Provides a fluent interface |
setMediaCredit(\Zend_Gdata_YouTube_Extension_MediaCredit $value) : \Zend_Gdata_YouTube_Extension_MediaGroup
Sets the media:credit value of this element
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_YouTube_Extension_MediaCredit | The credit element |
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaGroup | Provides a fluent interface |
setMediaRating(\Zend_Gdata_YouTube_Extension_MediaRating $value) : \Zend_Gdata_YouTube_Extension_MediaGroup
Sets the media:rating value of this element
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_YouTube_Extension_MediaRating | The rating element |
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaGroup | Provides a fluent interface |
setPrivate(\Zend_Gdata_YouTube_Extension_Private $value) : \Zend_Gdata_YouTube_Extension_MediaGroup
Sets the private value of this element
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_YouTube_Extension_Private | The private value |
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaGroup | Provides a fluent interface |
setUploaded(\Zend_Gdata_YouTube_Extension_Uploaded $value) : \Zend_Gdata_YouTube_Extension_MediaGroup
Sets the yt:uploaded element
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_YouTube_Extension_Uploaded | The uploaded value |
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaGroup | Provides a fluent interface |
setVideoId(\Zend_Gdata_YouTube_Extension_VideoId $value) : \Zend_Gdata_YouTube_Extension_MediaGroup
Sets the videoid value of this element
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_YouTube_Extension_VideoId | The video id value |
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_MediaGroup | Provides a fluent interface |