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


Public Member Functions | |
| __construct ($text=null, $role=null, $scheme=null, $yttype=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getRole () | |
| setRole ($value) | |
| getScheme () | |
| setScheme ($value) | |
| getYTtype () | |
| setYTtype ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'credit' | |
| $_rootNamespace = 'media' | |
| $_role = null | |
| $_scheme = null | |
| $_yttype = null | |
Definition at line 38 of file MediaCredit.php.
| __construct | ( | $ | text = null, |
| $ | role = null, |
||
| $ | scheme = null, |
||
| $ | yttype = null |
||
| ) |
Creates an individual MediaCredit object.
| string | $text | |
| string | $role | |
| string | $scheme |
Definition at line 71 of file MediaCredit.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 92 of file MediaCredit.php.
| getRole | ( | ) |
Definition at line 135 of file MediaCredit.php.
| getScheme | ( | ) |
Definition at line 154 of file MediaCredit.php.
| getYTtype | ( | ) |
Definition at line 173 of file MediaCredit.php.
| setRole | ( | $ | value | ) |
| string | $value |
Definition at line 145 of file MediaCredit.php.
| setScheme | ( | $ | value | ) |
| string | $value |
Definition at line 164 of file MediaCredit.php.
| setYTtype | ( | $ | value | ) |
| string | $value |
Definition at line 183 of file MediaCredit.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 115 of file MediaCredit.php.
$_role = null [protected] |
Definition at line 47 of file MediaCredit.php.
$_rootElement = 'credit' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file MediaCredit.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 42 of file MediaCredit.php.
$_scheme = null [protected] |
Definition at line 52 of file MediaCredit.php.
$_yttype = null [protected] |
Definition at line 62 of file MediaCredit.php.