Gdata/Media/Extension/MediaGroup.php

Show: PublicProtectedPrivateinherited
Table of Contents
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
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

>VPropertyprotectedarray $_category = array()
Default valuearray()Details
Type
array
>VPropertyprotectedarray $_content = array()
Default valuearray()Details
Type
array
>VPropertyprotected\Zend_Gdata_Media_Extension_MediaCopyright $_copyright = null
Default valuenullDetails
Type
\Zend_Gdata_Media_Extension_MediaCopyright
>VPropertyprotectedarray $_credit = array()
Default valuearray()Details
Type
array
>VPropertyprotected\Zend_Gdata_Media_Extension_MediaDescription $_description = null
>VPropertyprotectedarray $_hash = array()
Default valuearray()Details
Type
array
>VPropertyprotected\Zend_Gdata_Media_Extension_MediaKeywords $_keywords = null
Default valuenullDetails
Type
\Zend_Gdata_Media_Extension_MediaKeywords
>VPropertyprotectedarray $_mediaText = array()
Default valuearray()Details
Type
array
>VPropertyprotectedarray $_player = array()
Default valuearray()Details
Type
array
>VPropertyprotectedarray $_rating = array()
Default valuearray()Details
Type
array
>VPropertyprotectedarray $_restriction = array()
Default valuearray()Details
Type
array
>VPropertyprotected$_rootElement = 'group'
Default value'group'Details
Type
n/a
>VPropertyprotected$_rootNamespace = 'media'
Default value'media'Details
Type
n/a
>VPropertyprotectedarray $_thumbnail = array()
Default valuearray()Details
Type
array
>VPropertyprotectedstring $_title = null
Default valuenullDetails
Type
string

Methods

methodpublic__construct( $element = null) : void

Creates an individual MediaGroup object.

Parameters
NameTypeDescription
$element
methodpublicgetCategory() : array

Returns
TypeDescription
array
methodpublicgetContent() : array

Returns
TypeDescription
array
methodpublicgetCredit() : array

Returns
TypeDescription
array
methodpublicgetDOM(\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
NameTypeDescription
$doc\DOMDocument

The DOMDocument used to construct DOMElements

$majorVersion
$minorVersion
Returns
TypeDescription
\DOMElementThe DOMElement representing this element and all child properties.
methodpublicgetHash() : array

Returns
TypeDescription
array
methodpublicgetMediaText() : array

Returns
TypeDescription
array
methodpublicgetPlayer() : array

Returns
TypeDescription
array
methodpublicgetRating() : array

Returns
TypeDescription
array
methodpublicgetRestriction() : array

Returns
TypeDescription
array
methodpublicgetThumbnail() : array

Returns
TypeDescription
array
methodpublicsetCategory(array $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$valuearray
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodpublicsetContent(array $value) : \Zend_Gdata_Media_MediaGroup

Parameters
NameTypeDescription
$valuearray
Returns
TypeDescription
\Zend_Gdata_Media_MediaGroupProvides a fluent interface
methodpublicsetCredit(array $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$valuearray
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodpublicsetHash(array $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$valuearray
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodpublicsetKeywords(array $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$valuearray
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroupProvides a fluent interface
methodpublicsetMediaText( $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$value
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodpublicsetPlayer( $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$value
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodpublicsetRating( $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$value
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodpublicsetRestriction( $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$value
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodpublicsetThumbnail( $value) : \Zend_Gdata_Media_Extension_MediaGroup

Parameters
NameTypeDescription
$value
Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroup
methodprotectedtakeChildFromDOM(\DOMNode $child) : void

Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.

Parameters
NameTypeDescription
$child\DOMNode

The DOMNode to process

Documentation was generated by phpDocumentor 2.2.0 .