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


Public Member Functions | |
| __construct ($term=null, $scheme=null, $label=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getTerm () | |
| setTerm ($value) | |
| getScheme () | |
| setScheme ($value) | |
| getLabel () | |
| setLabel ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'category' | |
| $_term = null | |
| $_scheme = null | |
| $_label = null | |
Definition at line 38 of file Category.php.
| __construct | ( | $ | term = null, |
| $ | scheme = null, |
||
| $ | label = null |
||
| ) |
Reimplemented in Zend_Gdata_Books_Extension_BooksCategory.
Definition at line 46 of file Category.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 54 of file Category.php.
| getLabel | ( | ) |
Definition at line 125 of file Category.php.
| getScheme | ( | ) |
Definition at line 107 of file Category.php.
| getTerm | ( | ) |
Definition at line 89 of file Category.php.
| setLabel | ( | $ | value | ) |
| string | null | $value |
Definition at line 134 of file Category.php.
| setScheme | ( | $ | value | ) |
| string | null | $value |
Definition at line 116 of file Category.php.
| setTerm | ( | $ | value | ) |
| string | null | $value |
Definition at line 98 of file Category.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 69 of file Category.php.
$_label = null [protected] |
Definition at line 44 of file Category.php.
$_rootElement = 'category' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file Category.php.
$_scheme = null [protected] |
Definition at line 43 of file Category.php.
$_term = null [protected] |
Definition at line 42 of file Category.php.