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


Public Member Functions | |
| __construct ($url=null, $width=null, $height=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getUrl () | |
| setUrl ($value) | |
| getWidth () | |
| setWidth ($value) | |
| getHeight () | |
| setHeight ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'player' | |
| $_rootNamespace = 'media' | |
| $_url = null | |
| $_width = null | |
| $_height = null | |
Definition at line 38 of file MediaPlayer.php.
| __construct | ( | $ | url = null, |
| $ | width = null, |
||
| $ | height = null |
||
| ) |
Constructs a new MediaPlayer element
| string | $url | |
| int | $width | |
| int | $height |
Definition at line 66 of file MediaPlayer.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 85 of file MediaPlayer.php.
| getHeight | ( | ) |
Definition at line 163 of file MediaPlayer.php.
| getUrl | ( | ) |
Definition at line 127 of file MediaPlayer.php.
| getWidth | ( | ) |
Definition at line 145 of file MediaPlayer.php.
| setHeight | ( | $ | value | ) |
| int | $value |
Definition at line 172 of file MediaPlayer.php.
| setUrl | ( | $ | value | ) |
| string | $value |
Definition at line 136 of file MediaPlayer.php.
| setWidth | ( | $ | value | ) |
| int | $value |
Definition at line 154 of file MediaPlayer.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 107 of file MediaPlayer.php.
$_height = null [protected] |
Definition at line 57 of file MediaPlayer.php.
$_rootElement = 'player' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file MediaPlayer.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 42 of file MediaPlayer.php.
$_url = null [protected] |
Definition at line 47 of file MediaPlayer.php.
$_width = null [protected] |
Definition at line 52 of file MediaPlayer.php.