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


Public Member Functions | |
| __construct ($text=null, $scheme=null, $country=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getScheme () | |
| setScheme ($value) | |
| getCountry () | |
| setCountry ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'rating' | |
| $_rootNamespace = 'media' | |
| $_scheme = null | |
| $_country = null | |
Definition at line 38 of file MediaRating.php.
| __construct | ( | $ | text = null, |
| $ | scheme = null, |
||
| $ | country = null |
||
| ) |
Constructs a new MediaRating element
| string | $text | |
| string | $scheme | |
| string | $country |
Definition at line 61 of file MediaRating.php.

| getCountry | ( | ) |
Definition at line 134 of file MediaRating.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 80 of file MediaRating.php.
| getScheme | ( | ) |
Definition at line 116 of file MediaRating.php.
| setCountry | ( | $ | value | ) |
| string | $value |
Definition at line 143 of file MediaRating.php.
| setScheme | ( | $ | value | ) |
| string | $value |
Definition at line 125 of file MediaRating.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 99 of file MediaRating.php.
$_country = null [protected] |
Definition at line 52 of file MediaRating.php.
$_rootElement = 'rating' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file MediaRating.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 42 of file MediaRating.php.
$_scheme = null [protected] |
Definition at line 47 of file MediaRating.php.