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


Public Member Functions | |
| __construct ($url=null, $fileSize=null, $type=null, $medium=null, $isDefault=null, $expression=null, $bitrate=null, $framerate=null, $samplingrate=null, $channels=null, $duration=null, $height=null, $width=null, $lang=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| __toString () | |
| getUrl () | |
| setUrl ($value) | |
| getFileSize () | |
| setFileSize ($value) | |
| getType () | |
| setType ($value) | |
| getMedium () | |
| setMedium ($value) | |
| getIsDefault () | |
| setIsDefault ($value) | |
| getExpression () | |
| setExpression ($value) | |
| getBitrate () | |
| setBitrate ($value) | |
| getFramerate () | |
| setFramerate ($value) | |
| getSamplingrate () | |
| setSamplingrate ($value) | |
| getChannels () | |
| setChannels ($value) | |
| getDuration () | |
| setDuration ($value) | |
| getHeight () | |
| setHeight ($value) | |
| getWidth () | |
| setWidth ($value) | |
| getLang () | |
| setLang ($value) | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'content' | |
| $_rootNamespace = 'media' | |
| $_url = null | |
| $_fileSize = null | |
| $_type = null | |
| $_medium = null | |
| $_isDefault = null | |
| $_expression = null | |
| $_bitrate = null | |
| $_framerate = null | |
| $_samplingrate = null | |
| $_channels = null | |
| $_duration = null | |
| $_height = null | |
| $_width = null | |
| $_lang = null | |
Definition at line 41 of file MediaContent.php.
| __construct | ( | $ | url = null, |
| $ | fileSize = null, |
||
| $ | type = null, |
||
| $ | medium = null, |
||
| $ | isDefault = null, |
||
| $ | expression = null, |
||
| $ | bitrate = null, |
||
| $ | framerate = null, |
||
| $ | samplingrate = null, |
||
| $ | channels = null, |
||
| $ | duration = null, |
||
| $ | height = null, |
||
| $ | width = null, |
||
| $ | lang = null |
||
| ) |
Creates an individual MediaContent object.
Definition at line 119 of file MediaContent.php.

| __toString | ( | ) |
Returns the URL representing this MediaContent object
Reimplemented from Zend_Gdata_App_Base.
Definition at line 264 of file MediaContent.php.

| getBitrate | ( | ) |
Definition at line 380 of file MediaContent.php.
| getChannels | ( | ) |
Definition at line 434 of file MediaContent.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.
Reimplemented in Zend_Gdata_YouTube_Extension_MediaContent.
Definition at line 154 of file MediaContent.php.
| getDuration | ( | ) |
Definition at line 452 of file MediaContent.php.
| getExpression | ( | ) |
Definition at line 362 of file MediaContent.php.
| getFileSize | ( | ) |
Definition at line 290 of file MediaContent.php.
| getFramerate | ( | ) |
Definition at line 398 of file MediaContent.php.
| getHeight | ( | ) |
Definition at line 471 of file MediaContent.php.
| getIsDefault | ( | ) |
Definition at line 344 of file MediaContent.php.
| getLang | ( | ) |
Definition at line 507 of file MediaContent.php.
| getMedium | ( | ) |
Definition at line 326 of file MediaContent.php.
| getSamplingrate | ( | ) |
Definition at line 416 of file MediaContent.php.
| getType | ( | ) |
Definition at line 308 of file MediaContent.php.
| getUrl | ( | ) |
Definition at line 272 of file MediaContent.php.

| getWidth | ( | ) |
Definition at line 489 of file MediaContent.php.
| setBitrate | ( | $ | value | ) |
| int |
Definition at line 389 of file MediaContent.php.
| setChannels | ( | $ | value | ) |
| int |
Definition at line 443 of file MediaContent.php.
| setDuration | ( | $ | value | ) |
| int |
Definition at line 462 of file MediaContent.php.
| setExpression | ( | $ | value | ) |
| string |
Definition at line 371 of file MediaContent.php.
| setFileSize | ( | $ | value | ) |
| int | $value |
Definition at line 299 of file MediaContent.php.
| setFramerate | ( | $ | value | ) |
| int |
Definition at line 407 of file MediaContent.php.
| setHeight | ( | $ | value | ) |
| int |
Definition at line 480 of file MediaContent.php.
| setIsDefault | ( | $ | value | ) |
| bool | $value |
Definition at line 353 of file MediaContent.php.
| setLang | ( | $ | value | ) |
| string |
Definition at line 516 of file MediaContent.php.
| setMedium | ( | $ | value | ) |
| string | $value |
Definition at line 335 of file MediaContent.php.
| setSamplingrate | ( | $ | value | ) |
| int |
Definition at line 425 of file MediaContent.php.
| setType | ( | $ | value | ) |
| string | $value |
Definition at line 317 of file MediaContent.php.
| setUrl | ( | $ | value | ) |
| string | $value | The direct URL to the media object |
Definition at line 281 of file MediaContent.php.
| setWidth | ( | $ | value | ) |
| int |
Definition at line 498 of file MediaContent.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.
Reimplemented in Zend_Gdata_YouTube_Extension_MediaContent.
Definition at line 209 of file MediaContent.php.
$_bitrate = null [protected] |
Definition at line 79 of file MediaContent.php.
$_channels = null [protected] |
Definition at line 94 of file MediaContent.php.
$_duration = null [protected] |
Definition at line 99 of file MediaContent.php.
$_expression = null [protected] |
Definition at line 74 of file MediaContent.php.
$_fileSize = null [protected] |
Definition at line 54 of file MediaContent.php.
$_framerate = null [protected] |
Definition at line 84 of file MediaContent.php.
$_height = null [protected] |
Definition at line 104 of file MediaContent.php.
$_isDefault = null [protected] |
Definition at line 69 of file MediaContent.php.
$_lang = null [protected] |
Definition at line 114 of file MediaContent.php.
$_medium = null [protected] |
Definition at line 64 of file MediaContent.php.
$_rootElement = 'content' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Reimplemented in Zend_Gdata_YouTube_Extension_MediaContent.
Definition at line 43 of file MediaContent.php.
$_rootNamespace = 'media' [protected] |
Reimplemented from Zend_Gdata_Extension.
Reimplemented in Zend_Gdata_YouTube_Extension_MediaContent.
Definition at line 44 of file MediaContent.php.
$_samplingrate = null [protected] |
Definition at line 89 of file MediaContent.php.
$_type = null [protected] |
Definition at line 59 of file MediaContent.php.
$_url = null [protected] |
Definition at line 49 of file MediaContent.php.
$_width = null [protected] |
Definition at line 109 of file MediaContent.php.