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


Public Member Functions | |
| __construct ($text=null, $type=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getType () | |
| setType ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'title' | |
| $_rootNamespace = 'media' | |
| $_type = null | |
Definition at line 38 of file MediaTitle.php.
| __construct | ( | $ | text = null, |
| $ | type = null |
||
| ) |
Constructs a MediaTitle element
| string | $text | |
| string | $type |
Definition at line 55 of file MediaTitle.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_App_Base.
Definition at line 73 of file MediaTitle.php.
| getType | ( | ) |
Definition at line 103 of file MediaTitle.php.
| setType | ( | $ | value | ) |
| string | $value |
Definition at line 112 of file MediaTitle.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_App_Base.
Definition at line 89 of file MediaTitle.php.
$_rootElement = 'title' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file MediaTitle.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 42 of file MediaTitle.php.
$_type = null [protected] |
Definition at line 47 of file MediaTitle.php.