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


Public Member Functions | |
| __construct ($text=null, $type= 'text') | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getType () | |
| setType ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = null | |
| $_type = 'text' | |
| __construct | ( | $ | text = null, |
| $ | type = 'text' |
||
| ) |
| 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.
Reimplemented in Zend_Gdata_App_Extension_Content.
| 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.
Reimplemented in Zend_Gdata_App_Extension_Content.
$_rootElement = null [protected] |
Reimplemented from Zend_Gdata_App_Base.
Reimplemented in Zend_Gdata_App_Extension_Content, Zend_Gdata_App_Extension_Rights, Zend_Gdata_App_Extension_Subtitle, Zend_Gdata_App_Extension_Summary, and Zend_Gdata_App_Extension_Title.