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


Public Member Functions | |
| __construct ($text=null, $uri=null, $version=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getUri () | |
| setUri ($value) | |
| getVersion () | |
| setVersion ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'generator' | |
| $_uri = null | |
| $_version = null | |
Definition at line 38 of file Generator.php.
| __construct | ( | $ | text = null, |
| $ | uri = null, |
||
| $ | version = null |
||
| ) |
| 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 53 of file Generator.php.
| getUri | ( | ) |
Definition at line 82 of file Generator.php.
| getVersion | ( | ) |
Definition at line 100 of file Generator.php.
| setUri | ( | $ | value | ) |
| Zend_Gdata_App_Extension_Uri | $value |
Definition at line 91 of file Generator.php.
| setVersion | ( | $ | value | ) |
| Zend_Gdata_App_Extension_Version | $value |
Definition at line 109 of file Generator.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 65 of file Generator.php.
$_rootElement = 'generator' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file Generator.php.
$_uri = null [protected] |
Definition at line 42 of file Generator.php.
$_version = null [protected] |
Definition at line 43 of file Generator.php.