|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct ($url=null, $width=null, $height=null, $time=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getUrl () | |
| setUrl ($value) | |
| getWidth () | |
| setWidth ($value) | |
| getHeight () | |
| setHeight ($value) | |
| getTime () | |
| setTime ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'thumbnail' | |
| $_rootNamespace = 'media' | |
| $_url = null | |
| $_width = null | |
| $_height = null | |
| $_time = null | |
Definition at line 38 of file MediaThumbnail.php.
| __construct | ( | $ | url = null, |
| $ | width = null, |
||
| $ | height = null, |
||
| $ | time = null |
||
| ) |
Constructs a new MediaThumbnail element
| string | $url | |
| int | $width | |
| int | $height | |
| string | $time |
Definition at line 72 of file MediaThumbnail.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 93 of file MediaThumbnail.php.
| getHeight | ( | ) |
Definition at line 177 of file MediaThumbnail.php.
| getTime | ( | ) |
Definition at line 195 of file MediaThumbnail.php.
| getUrl | ( | ) |
Definition at line 141 of file MediaThumbnail.php.
| getWidth | ( | ) |
Definition at line 159 of file MediaThumbnail.php.
| setHeight | ( | $ | value | ) |
| int | $value |
Definition at line 186 of file MediaThumbnail.php.
| setTime | ( | $ | value | ) |
| string | $value |
Definition at line 204 of file MediaThumbnail.php.
| setUrl | ( | $ | value | ) |
| string | $value |
Definition at line 150 of file MediaThumbnail.php.
| setWidth | ( | $ | value | ) |
| int | $value |
Definition at line 168 of file MediaThumbnail.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 118 of file MediaThumbnail.php.
$_height = null [protected] |
Definition at line 57 of file MediaThumbnail.php.
$_rootElement = 'thumbnail' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file MediaThumbnail.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Definition at line 42 of file MediaThumbnail.php.
$_time = null [protected] |
Definition at line 62 of file MediaThumbnail.php.
$_url = null [protected] |
Definition at line 47 of file MediaThumbnail.php.
$_width = null [protected] |
Definition at line 52 of file MediaThumbnail.php.