## Zend_Gdata_YouTube_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/YouTube/Extension/MediaGroup.php (line 76)

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

Variable Summary
Zend_Gdata_YouTube_Extension_Duration $_duration
Zend_Gdata_YouTube_Extension_MediaCredit $_mediacredit
Zend_Gdata_YouTube_Extension_MediaRating $_mediarating
Zend_Gdata_YouTube_Extension_Private $_private
mixed $_rootElement
mixed $_rootNamespace
Zend_Gdata_YouTube_Extension_Uploaded $_uploaded
Zend_Gdata_YouTube_Extension_VideoId $_videoid
Method Summary
Zend_Gdata_YouTube_Extension_MediaGroup __construct ([ $element = null])
void getDOM ([ $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
Zend_Gdata_YouTube_Extension_Duration getDuration ()
Zend_Gdata_YouTube_Extension_MediaCredit getMediaCredit ()
Zend_Gdata_YouTube_Extension_MediaRating getMediaRating ()
Zend_Gdata_YouTube_Extension_Private getPrivate ()
Zend_Gdata_YouTube_Extension_Uploaded getUploaded ()
Zend_Gdata_YouTube_Extension_VideoId getVideoId ()
Zend_Gdata_YouTube_Extension_MediaGroup setDuration (Zend_Gdata_YouTube_Extension_Duration $value)
Zend_Gdata_YouTube_Extension_MediaGroup setMediaCredit (Zend_Gdata_YouTube_Extension_MediaCredit $value)
Zend_Gdata_YouTube_Extension_MediaGroup setMediaRating (Zend_Gdata_YouTube_Extension_MediaRating $value)
Zend_Gdata_YouTube_Extension_MediaGroup setPrivate (Zend_Gdata_YouTube_Extension_Private $value)
Zend_Gdata_YouTube_Extension_MediaGroup setUploaded (Zend_Gdata_YouTube_Extension_Uploaded $value)
Zend_Gdata_YouTube_Extension_MediaGroup setVideoId (Zend_Gdata_YouTube_Extension_VideoId $value)
void takeChildFromDOM (DOMNode $child)
Variables
Zend_Gdata_YouTube_Extension_Duration $_duration = null (line 85)

- access: protected

Zend_Gdata_YouTube_Extension_MediaCredit $_mediacredit = null (line 105)

- access: protected

Zend_Gdata_YouTube_Extension_MediaRating $_mediarating = null (line 100)

- access: protected

Zend_Gdata_YouTube_Extension_Private $_private = null (line 90)

- access: protected

mixed $_rootElement = 'group' (line 79)

- access: protected

Redefinition of:

Zend_Gdata_Media_Extension_MediaGroup::$_rootElement

mixed $_rootNamespace = 'media' (line 80)

- access: protected

Redefinition of:

Zend_Gdata_Media_Extension_MediaGroup::$_rootNamespace

Zend_Gdata_YouTube_Extension_Uploaded $_uploaded = null (line 110)

- access: protected

Zend_Gdata_YouTube_Extension_VideoId $_videoid = null (line 95)

- access: protected

#### Inherited Variables

Inherited from Zend_Gdata_Media_Extension_MediaGroup

> Zend_Gdata_Media_Extension_MediaGroup::$_category
> Zend_Gdata_Media_Extension_MediaGroup::$_content
> Zend_Gdata_Media_Extension_MediaGroup::$_copyright
> Zend_Gdata_Media_Extension_MediaGroup::$_credit
> Zend_Gdata_Media_Extension_MediaGroup::$_description
> Zend_Gdata_Media_Extension_MediaGroup::$_hash
> Zend_Gdata_Media_Extension_MediaGroup::$_keywords
> Zend_Gdata_Media_Extension_MediaGroup::$_mediaText
> Zend_Gdata_Media_Extension_MediaGroup::$_player
> Zend_Gdata_Media_Extension_MediaGroup::$_rating
> Zend_Gdata_Media_Extension_MediaGroup::$_restriction
> Zend_Gdata_Media_Extension_MediaGroup::$_thumbnail
> Zend_Gdata_Media_Extension_MediaGroup::$_title

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

- access: public

Zend_Gdata_YouTube_Extension_MediaGroup __construct ([ $element = null])

- $element

Redefinition of:

Zend_Gdata_Media_Extension_MediaGroup::__construct()
  Creates an individual MediaGroup object.

getDOM (line 118)

- access: public

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

- $doc
- $majorVersion
- $minorVersion

Redefinition of:

Zend_Gdata_Media_Extension_MediaGroup::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.

getDuration (line 204)

Returns the duration value of this element

- access: public

Zend_Gdata_YouTube_Extension_Duration getDuration ()
getMediaCredit (line 319)

Returns the media:credit value of this element

- access: public

Zend_Gdata_YouTube_Extension_MediaCredit getMediaCredit ()
getMediaRating (line 296)

Returns the rating value of this element

- access: public

Zend_Gdata_YouTube_Extension_MediaRating getMediaRating ()
getPrivate (line 273)

Returns the private value of this element

- access: public

Zend_Gdata_YouTube_Extension_Private getPrivate ()
getUploaded (line 250)

Returns the yt:uploaded element

- access: public

Zend_Gdata_YouTube_Extension_Uploaded getUploaded ()
getVideoId (line 227)

Returns the videoid value of this element

- access: public

Zend_Gdata_YouTube_Extension_VideoId getVideoId ()
setDuration (line 216)

Sets the duration value of this element

- return: Provides a fluent interface
- access: public

Zend_Gdata_YouTube_Extension_MediaGroup setDuration (Zend_Gdata_YouTube_Extension_Duration $value)

- Zend_Gdata_YouTube_Extension_Duration $value: The duration value

setMediaCredit (line 331)

Sets the media:credit value of this element

- return: Provides a fluent interface
- access: public

Zend_Gdata_YouTube_Extension_MediaGroup setMediaCredit (Zend_Gdata_YouTube_Extension_MediaCredit $value)

- Zend_Gdata_YouTube_Extension_MediaCredit $value: The credit element

setMediaRating (line 308)

Sets the media:rating value of this element

- return: Provides a fluent interface
- access: public

Zend_Gdata_YouTube_Extension_MediaGroup setMediaRating (Zend_Gdata_YouTube_Extension_MediaRating $value)

- Zend_Gdata_YouTube_Extension_MediaRating $value: The rating element

setPrivate (line 285)

Sets the private value of this element

- return: Provides a fluent interface
- access: public

Zend_Gdata_YouTube_Extension_MediaGroup setPrivate (Zend_Gdata_YouTube_Extension_Private $value)

- Zend_Gdata_YouTube_Extension_Private $value: The private value

setUploaded (line 262)

Sets the yt:uploaded element

- return: Provides a fluent interface
- access: public

Zend_Gdata_YouTube_Extension_MediaGroup setUploaded (Zend_Gdata_YouTube_Extension_Uploaded $value)

- Zend_Gdata_YouTube_Extension_Uploaded $value: The uploaded value

setVideoId (line 239)

Sets the videoid value of this element

- return: Provides a fluent interface
- access: public

Zend_Gdata_YouTube_Extension_MediaGroup setVideoId (Zend_Gdata_YouTube_Extension_VideoId $value)

- Zend_Gdata_YouTube_Extension_VideoId $value: The video id value

takeChildFromDOM (line 154)

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_Media_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_Media_Extension_MediaGroup

> Zend_Gdata_Media_Extension_MediaGroup::__construct()
> Zend_Gdata_Media_Extension_MediaGroup::getCategory()
> Zend_Gdata_Media_Extension_MediaGroup::getContent()
> Zend_Gdata_Media_Extension_MediaGroup::getCopyright()
> Zend_Gdata_Media_Extension_MediaGroup::getCredit()
> Zend_Gdata_Media_Extension_MediaGroup::getDescription()
> Zend_Gdata_Media_Extension_MediaGroup::getDOM()
> Zend_Gdata_Media_Extension_MediaGroup::getHash()
> Zend_Gdata_Media_Extension_MediaGroup::getKeywords()
> Zend_Gdata_Media_Extension_MediaGroup::getMediaText()
> Zend_Gdata_Media_Extension_MediaGroup::getPlayer()
> Zend_Gdata_Media_Extension_MediaGroup::getRating()
> Zend_Gdata_Media_Extension_MediaGroup::getRestriction()
> Zend_Gdata_Media_Extension_MediaGroup::getThumbnail()
> Zend_Gdata_Media_Extension_MediaGroup::getTitle()
> Zend_Gdata_Media_Extension_MediaGroup::setCategory()
> Zend_Gdata_Media_Extension_MediaGroup::setContent()
> Zend_Gdata_Media_Extension_MediaGroup::setCopyright()
> Zend_Gdata_Media_Extension_MediaGroup::setCredit()
> Zend_Gdata_Media_Extension_MediaGroup::setDescription()
> Zend_Gdata_Media_Extension_MediaGroup::setHash()
> Zend_Gdata_Media_Extension_MediaGroup::setKeywords()
> Zend_Gdata_Media_Extension_MediaGroup::setMediaText()
> Zend_Gdata_Media_Extension_MediaGroup::setPlayer()
> Zend_Gdata_Media_Extension_MediaGroup::setRating()
> Zend_Gdata_Media_Extension_MediaGroup::setRestriction()
> Zend_Gdata_Media_Extension_MediaGroup::setThumbnail()
> Zend_Gdata_Media_Extension_MediaGroup::setTitle()
> Zend_Gdata_Media_Extension_MediaGroup::takeChildFromDOM()

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:57 +0400 by phpDocumentor 1.4.2