Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_YouTube_Extension_MediaContent Class Reference
Inheritance diagram for Zend_Gdata_YouTube_Extension_MediaContent:
Collaboration diagram for Zend_Gdata_YouTube_Extension_MediaContent:

Public Member Functions

 __construct ()
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getFormat ()
 setFormat ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'content'
 $_rootNamespace = 'media'
 $_format = null

Detailed Description

Definition at line 41 of file MediaContent.php.


Constructor & Destructor Documentation

Reimplemented from Zend_Gdata_Extension.

Definition at line 55 of file MediaContent.php.

Here is the call graph for this function:


Member Function Documentation

getDOM ( doc = null,
majorVersion = 1,
minorVersion = null 
)

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:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_Media_Extension_MediaContent.

Definition at line 70 of file MediaContent.php.

Here is the call graph for this function:

getFormat ( )

Returns the format of the media Optional.

Returns:
int The format of the media

Definition at line 102 of file MediaContent.php.

setFormat ( value)

Sets the format of the media

Parameters:
int$valueFormat of the media
Returns:
Zend_Gdata_YouTube_Extension_MediaContent Provides a fluent interface

Definition at line 114 of file MediaContent.php.

takeAttributeFromDOM ( attribute) [protected]

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.

Parameters:
DOMNode$attributeThe DOMNode attribute needed to be handled

Reimplemented from Zend_Gdata_Media_Extension_MediaContent.

Definition at line 86 of file MediaContent.php.

Here is the call graph for this function:


Field Documentation

$_format = null [protected]

Definition at line 52 of file MediaContent.php.

$_rootElement = 'content' [protected]

Reimplemented from Zend_Gdata_Media_Extension_MediaContent.

Definition at line 43 of file MediaContent.php.

$_rootNamespace = 'media' [protected]

Reimplemented from Zend_Gdata_Media_Extension_MediaContent.

Definition at line 44 of file MediaContent.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations