## Zend_Gdata_Media_Extension_MediaGroup

Description

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).

- copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license: New BSD License

Located in /Gdata/Media/Extension/MediaGroup.php (line 112)

    Zend_Gdata_App_Base
       |
       --Zend_Gdata_App_Extension
          |
          --Zend_Gdata_Extension
             |
             --Zend_Gdata_Media_Extension_MediaGroup

Direct descendents

Class | Description
--- | ---
Zend_Gdata_YouTube_Extension_MediaGroup | This class represents the media:group element of Media RSS.

Variable Summary
array $_category
array $_content
Zend_Gdata_Media_Extension_MediaCopyright $_copyright
array $_credit
Zend_Gdata_Media_Extension_MediaDescription $_description
array $_hash
Zend_Gdata_Media_Extension_MediaKeywords $_keywords
array $_mediaText
array $_player
array $_rating
array $_restriction
mixed $_rootElement
mixed $_rootNamespace
array $_thumbnail
string $_title
Method Summary
Zend_Gdata_Media_Extension_MediaGroup __construct ([ $element = null])
array getCategory ()
array getContent ()
Zend_Gdata_Media_Extension_MediaCopyright getCopyright ()
array getCredit ()
Zend_Gdata_Media_Extension_MediaDescription getDescription ()
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
array getHash ()
Zend_Gdata_Media_Extension_MediaKeywords getKeywords ()
array getMediaText ()
array getPlayer ()
array getRating ()
array getRestriction ()
array getThumbnail ()
Zend_Gdata_Media_Extension_MediaTitle getTitle ()
Zend_Gdata_Media_Extension_MediaGroup setCategory (array $value)
Zend_Gdata_Media_MediaGroup setContent (array $value)
Zend_Gdata_Media_Extension_MediaGroup setCopyright (Zend_Gdata_Media_Extension_MediaCopyright $value)
Zend_Gdata_Media_Extension_MediaGroup setCredit (array $value)
Zend_Gdata_Media_Extension_MediaGroup setDescription (Zend_Gdata_Media_Extension_MediaDescription $value)
Zend_Gdata_Media_Extension_MediaGroup setHash (array $value)
Zend_Gdata_Media_Extension_MediaGroup setKeywords (array $value)
Zend_Gdata_Media_Extension_MediaGroup setMediaText (array $value)
Zend_Gdata_Media_Extension_MediaGroup setPlayer (array $value)
Zend_Gdata_Media_Extension_MediaGroup setRating (array $value)
Zend_Gdata_Media_Extension_MediaGroup setRestriction (array $value)
Zend_Gdata_Media_Extension_MediaGroup setThumbnail (array $value)
Zend_Gdata_Media_Extension_MediaGroup setTitle (Zend_Gdata_Media_Extension_MediaTitle $value)
void takeChildFromDOM (DOMNode $child)
Variables
array $_category = array() (line 126)

- access: protected

array $_content = array() (line 121)

- access: protected

Zend_Gdata_Media_Extension_MediaCopyright $_copyright = null (line 131)

- access: protected

array $_credit = array() (line 136)

- access: protected

Zend_Gdata_Media_Extension_MediaDescription $_description = null (line 141)

- access: protected

array $_hash = array() (line 146)

- access: protected

Zend_Gdata_Media_Extension_MediaKeywords $_keywords = null (line 151)

- access: protected

array $_mediaText = array() (line 171)

- access: protected

array $_player = array() (line 156)

- access: protected

array $_rating = array() (line 161)

- access: protected

array $_restriction = array() (line 166)

- access: protected

mixed $_rootElement = 'group' (line 115)

- access: protected

Redefinition of:

Zend_Gdata_App_Base::$_rootElement

Redefined in descendants as:

- Zend_Gdata_YouTube_Extension_MediaGroup::$_rootElement

mixed $_rootNamespace = 'media' (line 116)

- access: protected

Redefinition of:

Zend_Gdata_Extension::$_rootNamespace

Redefined in descendants as:

- Zend_Gdata_YouTube_Extension_MediaGroup::$_rootNamespace

array $_thumbnail = array() (line 176)

- access: protected

string $_title = null (line 181)

- access: protected

#### Inherited Variables

Inherited from Zend_Gdata_App_Base

> Zend_Gdata_App_Base::$_extensionAttributes
> Zend_Gdata_App_Base::$_extensionElements
> Zend_Gdata_App_Base::$_namespaceLookupCache
> Zend_Gdata_App_Base::$_namespaces
> Zend_Gdata_App_Base::$_rootNamespaceURI
> Zend_Gdata_App_Base::$_text

Methods
Constructor __construct (line 186)

Creates an individual MediaGroup object.

- access: public

Zend_Gdata_Media_Extension_MediaGroup __construct ([ $element = null])

- $element

Redefinition of:

Zend_Gdata_Extension::__construct()

Redefined in descendants as:

- Zend_Gdata_YouTube_Extension_MediaGroup::__construct()

getCategory (line 353)

- access: public

array getCategory ()
getContent (line 335)

- access: public

array getContent ()
getCopyright (line 371)

- access: public

Zend_Gdata_Media_Extension_MediaCopyright getCopyright ()
getCredit (line 389)

- access: public

array getCredit ()
getDescription (line 425)

- access: public

Zend_Gdata_Media_Extension_MediaDescription getDescription ()
getDOM (line 202)

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.

- return: The DOMElement representing this element and all child properties.
- access: public

DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])

- DOMDocument $doc: The DOMDocument used to construct DOMElements
- $majorVersion
- $minorVersion

Redefinition of:

Zend_Gdata_App_Base::getDOM()
  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.

Redefined in descendants as:

- Zend_Gdata_YouTube_Extension_MediaGroup::getDOM()

getHash (line 443)

- access: public

array getHash ()
getKeywords (line 461)

- access: public

Zend_Gdata_Media_Extension_MediaKeywords getKeywords ()
getMediaText (line 551)

- access: public

array getMediaText ()
getPlayer (line 479)

- access: public

array getPlayer ()
getRating (line 497)

- access: public

array getRating ()
getRestriction (line 515)

- access: public

array getRestriction ()
getThumbnail (line 533)

- access: public

array getThumbnail ()
getTitle (line 407)

- access: public

Zend_Gdata_Media_Extension_MediaTitle getTitle ()
setCategory (line 362)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setCategory (array $value)

- array $value

setContent (line 344)

- return: Provides a fluent interface
- access: public

Zend_Gdata_Media_MediaGroup setContent (array $value)

- array $value

setCopyright (line 380)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setCopyright (Zend_Gdata_Media_Extension_MediaCopyright $value)

- Zend_Gdata_Media_Extension_MediaCopyright $value

setCredit (line 398)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setCredit (array $value)

- array $value

setDescription (line 434)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setDescription (Zend_Gdata_Media_Extension_MediaDescription $value)

- Zend_Gdata_Media_Extension_MediaDescription $value

setHash (line 452)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setHash (array $value)

- array $value

setKeywords (line 470)

- return: Provides a fluent interface
- access: public

Zend_Gdata_Media_Extension_MediaGroup setKeywords (array $value)

- array $value

setMediaText (line 560)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setMediaText (array $value)

- array $value

setPlayer (line 488)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setPlayer (array $value)

- array $value

setRating (line 506)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setRating (array $value)

- array $value

setRestriction (line 524)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setRestriction (array $value)

- array $value

setThumbnail (line 542)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setThumbnail (array $value)

- array $value

setTitle (line 416)

- access: public

Zend_Gdata_Media_Extension_MediaGroup setTitle (Zend_Gdata_Media_Extension_MediaTitle $value)

- Zend_Gdata_Media_Extension_MediaTitle $value

takeChildFromDOM (line 257)

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

- access: protected

void takeChildFromDOM (DOMNode $child)

- DOMNode $child: The DOMNode to process

Redefinition of:

Zend_Gdata_App_Base::takeChildFromDOM()
  Given a child DOMNode, tries to determine how to map the data into object instance members. If no mapping is defined, Extension_Element objects are created and stored in an array.

Redefined in descendants as:

- Zend_Gdata_YouTube_Extension_MediaGroup::takeChildFromDOM() : Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.

#### Inherited Methods

Inherited From Zend_Gdata_Extension

> Zend_Gdata_Extension::__construct()

Inherited From Zend_Gdata_App_Base

> Zend_Gdata_App_Base::__construct()
> Zend_Gdata_App_Base::encode()
> Zend_Gdata_App_Base::flushNamespaceLookupCache()
> Zend_Gdata_App_Base::getDOM()
> Zend_Gdata_App_Base::getExtensionAttributes()
> Zend_Gdata_App_Base::getExtensionElements()
> Zend_Gdata_App_Base::getText()
> Zend_Gdata_App_Base::getXML()
> Zend_Gdata_App_Base::lookupNamespace()
> Zend_Gdata_App_Base::registerAllNamespaces()
> Zend_Gdata_App_Base::registerNamespace()
> Zend_Gdata_App_Base::saveXML()
> Zend_Gdata_App_Base::setExtensionAttributes()
> Zend_Gdata_App_Base::setExtensionElements()
> Zend_Gdata_App_Base::setText()
> Zend_Gdata_App_Base::takeAttributeFromDOM()
> Zend_Gdata_App_Base::takeChildFromDOM()
> Zend_Gdata_App_Base::transferFromDOM()
> Zend_Gdata_App_Base::transferFromXML()
> Zend_Gdata_App_Base::__get()
> Zend_Gdata_App_Base::__isset()
> Zend_Gdata_App_Base::__set()
> Zend_Gdata_App_Base::__toString()
> Zend_Gdata_App_Base::__unset()

Documentation generated on Tue, 26 Oct 2010 20:08:58 +0400 by phpDocumentor 1.4.2