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


Public Member Functions | |
| __construct ($text=null, $scheme=null, $label=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getScheme () | |
| setScheme ($value) | |
| getLabel () | |
| setLabel ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'category' | |
| $_rootNamespace = 'media' | |
| $_scheme = null | |
| $_label = null | |
Definition at line 38 of file MediaCategory.php.
| __construct | ( | $ | text = null, |
| $ | scheme = null, |
||
| $ | label = null |
||
| ) |
Creates an individual MediaCategory object.
| string | $text | Indication of the type and content of the media |
| string | $scheme | URI that identifies the categorization scheme |
| string | $label | Human-readable label to be displayed in applications |
Definition at line 57 of file MediaCategory.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 76 of file MediaCategory.php.
| getLabel | ( | ) |
Definition at line 133 of file MediaCategory.php.
| getScheme | ( | ) |
Returns the URI that identifies the categorization scheme Optional.
Definition at line 115 of file MediaCategory.php.
| setLabel | ( | $ | value | ) |
| string | $value | Human-readable label to be displayed in applications |
Definition at line 142 of file MediaCategory.php.
| setScheme | ( | $ | value | ) |
| string | $value | URI that identifies the categorization scheme |
Definition at line 124 of file MediaCategory.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 95 of file MediaCategory.php.
$_label = null [protected] |
Definition at line 48 of file MediaCategory.php.
$_rootElement = 'category' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file MediaCategory.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 42 of file MediaCategory.php.
$_scheme = null [protected] |
Definition at line 47 of file MediaCategory.php.