Gdata/Media/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
- Media
- Version
- $Id$
\Zend_Gdata_Media_Extension_MediaGroup
Package: Zend_Gdata\Media
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_Extension < \Zend_Gdata_App_Extension < \Zend_Gdata_App_Base
- Children
- \Zend_Gdata_YouTube_Extension_MediaGroup
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__construct( $element = null) : void
Creates an individual MediaGroup object.
Parameters
Name | Type | Description |
---|---|---|
$element |
getCopyright() : \Zend_Gdata_Media_Extension_MediaCopyright
Returns
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaCopyright |
getDOM(\DOMDocument $doc = null, $majorVersion = 1, $minorVersion = null) : \DOMElement
Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.
Parameters
Returns
Name | Type | Description |
---|---|---|
$doc | \DOMDocument | The DOMDocument used to construct DOMElements |
$majorVersion | ||
$minorVersion |
Type | Description |
---|---|
\DOMElement | The DOMElement representing this element and all child properties. |
getDescription() : \Zend_Gdata_Media_Extension_MediaDescription
Returns
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaDescription |
getKeywords() : \Zend_Gdata_Media_Extension_MediaKeywords
Returns
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaKeywords |
getTitle() : \Zend_Gdata_Media_Extension_MediaTitle
Returns
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaTitle |
setCategory(array $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | array |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setContent(array $value) : \Zend_Gdata_Media_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | array |
Type | Description |
---|---|
\Zend_Gdata_Media_MediaGroup | Provides a fluent interface |
setCopyright(\Zend_Gdata_Media_Extension_MediaCopyright $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_Media_Extension_MediaCopyright |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setCredit(array $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | array |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setDescription(\Zend_Gdata_Media_Extension_MediaDescription $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_Media_Extension_MediaDescription |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setHash(array $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | array |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setKeywords(array $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | array |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup | Provides a fluent interface |
setMediaText( $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setPlayer( $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setRating( $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setRestriction( $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setThumbnail( $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |
setTitle(\Zend_Gdata_Media_Extension_MediaTitle $value) : \Zend_Gdata_Media_Extension_MediaGroup
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | \Zend_Gdata_Media_Extension_MediaTitle |
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaGroup |