|
Moodle
2.2.1
http://www.collinsharper.com
|


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 | |
Definition at line 41 of file MediaContent.php.
| __construct | ( | ) |
Reimplemented from Zend_Gdata_Extension.
Definition at line 55 of file MediaContent.php.

| 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.
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
Reimplemented from Zend_Gdata_Media_Extension_MediaContent.
Definition at line 70 of file MediaContent.php.

| getFormat | ( | ) |
Returns the format of the media Optional.
Definition at line 102 of file MediaContent.php.
| setFormat | ( | $ | value | ) |
Sets the format of the media
| int | $value | Format of the media |
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.
| DOMNode | $attribute | The DOMNode attribute needed to be handled |
Reimplemented from Zend_Gdata_Media_Extension_MediaContent.
Definition at line 86 of file MediaContent.php.

$_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.