## Zend_Gdata_YouTube_Extension_MediaContent

Description

Represents the media:content element of Media RSS.

Represents media objects. Multiple media objects representing the same content can be represented using a media:group (Zend_Gdata_Media_Extension_MediaGroup) element.

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

Located in /Gdata/YouTube/Extension/MediaContent.php (line 41)

    Zend_Gdata_App_Base
       |
       --Zend_Gdata_App_Extension
          |
          --Zend_Gdata_Extension
             |
             --Zend_Gdata_Media_Extension_MediaContent
                |
                --Zend_Gdata_YouTube_Extension_MediaContent

Variable Summary
mixed $_format
mixed $_rootElement
mixed $_rootNamespace
Method Summary
Zend_Gdata_YouTube_Extension_MediaContent __construct ()
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
int getFormat ()
Zend_Gdata_YouTube_Extension_MediaContent setFormat (int $value)
void takeAttributeFromDOM (DOMNode $attribute)
Variables
mixed $_format = null (line 52)

- access: protected

mixed $_rootElement = 'content' (line 43)

- access: protected

Redefinition of:

Zend_Gdata_Media_Extension_MediaContent::$_rootElement

mixed $_rootNamespace = 'media' (line 44)

- access: protected

Redefinition of:

Zend_Gdata_Media_Extension_MediaContent::$_rootNamespace

#### Inherited Variables

Inherited from Zend_Gdata_Media_Extension_MediaContent

> Zend_Gdata_Media_Extension_MediaContent::$_bitrate
> Zend_Gdata_Media_Extension_MediaContent::$_channels
> Zend_Gdata_Media_Extension_MediaContent::$_duration
> Zend_Gdata_Media_Extension_MediaContent::$_expression
> Zend_Gdata_Media_Extension_MediaContent::$_fileSize
> Zend_Gdata_Media_Extension_MediaContent::$_framerate
> Zend_Gdata_Media_Extension_MediaContent::$_height
> Zend_Gdata_Media_Extension_MediaContent::$_isDefault
> Zend_Gdata_Media_Extension_MediaContent::$_lang
> Zend_Gdata_Media_Extension_MediaContent::$_medium
> Zend_Gdata_Media_Extension_MediaContent::$_samplingrate
> Zend_Gdata_Media_Extension_MediaContent::$_type
> Zend_Gdata_Media_Extension_MediaContent::$_url
> Zend_Gdata_Media_Extension_MediaContent::$_width

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 55)
Zend_Gdata_YouTube_Extension_MediaContent __construct ()

Redefinition of:

Zend_Gdata_Media_Extension_MediaContent::__construct()
  Creates an individual MediaContent object.

getDOM (line 70)

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

getFormat (line 102)

Returns the format of the media Optional.

- return: The format of the media
- access: public

int getFormat ()
setFormat (line 114)

Sets the format of the media

- return: Provides a fluent interface
- access: public

Zend_Gdata_YouTube_Extension_MediaContent setFormat (int $value)

- int $value: Format of the media

takeAttributeFromDOM (line 86)

Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.

- access: protected

void takeAttributeFromDOM (DOMNode $attribute)

- DOMNode $attribute: The DOMNode attribute needed to be handled

Redefinition of:

Zend_Gdata_Media_Extension_MediaContent::takeAttributeFromDOM()
  Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.

#### Inherited Methods

Inherited From Zend_Gdata_Media_Extension_MediaContent

> Zend_Gdata_Media_Extension_MediaContent::__construct()
> Zend_Gdata_Media_Extension_MediaContent::getBitrate()
> Zend_Gdata_Media_Extension_MediaContent::getChannels()
> Zend_Gdata_Media_Extension_MediaContent::getDOM()
> Zend_Gdata_Media_Extension_MediaContent::getDuration()
> Zend_Gdata_Media_Extension_MediaContent::getExpression()
> Zend_Gdata_Media_Extension_MediaContent::getFileSize()
> Zend_Gdata_Media_Extension_MediaContent::getFramerate()
> Zend_Gdata_Media_Extension_MediaContent::getHeight()
> Zend_Gdata_Media_Extension_MediaContent::getIsDefault()
> Zend_Gdata_Media_Extension_MediaContent::getLang()
> Zend_Gdata_Media_Extension_MediaContent::getMedium()
> Zend_Gdata_Media_Extension_MediaContent::getSamplingrate()
> Zend_Gdata_Media_Extension_MediaContent::getType()
> Zend_Gdata_Media_Extension_MediaContent::getUrl()
> Zend_Gdata_Media_Extension_MediaContent::getWidth()
> Zend_Gdata_Media_Extension_MediaContent::setBitrate()
> Zend_Gdata_Media_Extension_MediaContent::setChannels()
> Zend_Gdata_Media_Extension_MediaContent::setDuration()
> Zend_Gdata_Media_Extension_MediaContent::setExpression()
> Zend_Gdata_Media_Extension_MediaContent::setFileSize()
> Zend_Gdata_Media_Extension_MediaContent::setFramerate()
> Zend_Gdata_Media_Extension_MediaContent::setHeight()
> Zend_Gdata_Media_Extension_MediaContent::setIsDefault()
> Zend_Gdata_Media_Extension_MediaContent::setLang()
> Zend_Gdata_Media_Extension_MediaContent::setMedium()
> Zend_Gdata_Media_Extension_MediaContent::setSamplingrate()
> Zend_Gdata_Media_Extension_MediaContent::setType()
> Zend_Gdata_Media_Extension_MediaContent::setUrl()
> Zend_Gdata_Media_Extension_MediaContent::setWidth()
> Zend_Gdata_Media_Extension_MediaContent::takeAttributeFromDOM()
> Zend_Gdata_Media_Extension_MediaContent::__toString()

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