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


Public Member Functions | |
| __construct ($text=null, $type=null, $lang=null, $start=null, $end=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getType () | |
| setType ($value) | |
| getLang () | |
| setLang ($value) | |
| getStart () | |
| setStart ($value) | |
| getEnd () | |
| setEnd ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'text' | |
| $_rootNamespace = 'media' | |
| $_type = null | |
| $_lang = null | |
| $_start = null | |
| $_end = null | |
Definition at line 38 of file MediaText.php.
| __construct | ( | $ | text = null, |
| $ | type = null, |
||
| $ | lang = null, |
||
| $ | start = null, |
||
| $ | end = null |
||
| ) |
Constructs a new MediaText element
| $text | string |
| $type | string |
| $lang | string |
| $start | string |
| $end | string |
Definition at line 73 of file MediaText.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 95 of file MediaText.php.
| getEnd | ( | ) |
Definition at line 197 of file MediaText.php.
| getLang | ( | ) |
Definition at line 161 of file MediaText.php.
| getStart | ( | ) |
Definition at line 179 of file MediaText.php.
| getType | ( | ) |
Definition at line 143 of file MediaText.php.
| setEnd | ( | $ | value | ) |
| string | $value |
Definition at line 206 of file MediaText.php.
| setLang | ( | $ | value | ) |
| string | $value |
Definition at line 170 of file MediaText.php.
| setStart | ( | $ | value | ) |
| string | $value |
Definition at line 188 of file MediaText.php.
| setType | ( | $ | value | ) |
| string | $value |
Definition at line 152 of file MediaText.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 120 of file MediaText.php.
$_end = null [protected] |
Definition at line 62 of file MediaText.php.
$_lang = null [protected] |
Definition at line 52 of file MediaText.php.
$_rootElement = 'text' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file MediaText.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 42 of file MediaText.php.
$_start = null [protected] |
Definition at line 57 of file MediaText.php.
$_type = null [protected] |
Definition at line 47 of file MediaText.php.