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 license@zend.com 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) : voidParameters
| Name | Type | Description |
|---|---|---|
| $doc | ||
| $majorVersion | ||
| $minorVersion |

getDuration() : \Zend_Gdata_YouTube_Extension_DurationReturns the duration value of this element
Returns
| Type | Description |
|---|---|
| \Zend_Gdata_YouTube_Extension_Duration |

getMediaCredit() : \Zend_Gdata_YouTube_Extension_MediaCreditReturns the media:credit value of this element
Returns
| Type | Description |
|---|---|
| \Zend_Gdata_YouTube_Extension_MediaCredit |

getMediaRating() : \Zend_Gdata_YouTube_Extension_MediaRatingReturns the rating value of this element
Returns
| Type | Description |
|---|---|
| \Zend_Gdata_YouTube_Extension_MediaRating |

getPrivate() : \Zend_Gdata_YouTube_Extension_PrivateReturns the private value of this element
Returns
| Type | Description |
|---|---|
| \Zend_Gdata_YouTube_Extension_Private |

getUploaded() : \Zend_Gdata_YouTube_Extension_UploadedReturns the yt:uploaded element
Returns
| Type | Description |
|---|---|
| \Zend_Gdata_YouTube_Extension_Uploaded |

getVideoId() : \Zend_Gdata_YouTube_Extension_VideoIdReturns 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_MediaGroupSets 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_MediaGroupSets 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_MediaGroupSets 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_MediaGroupSets 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_MediaGroupSets 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_MediaGroupSets 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 |