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


Public Member Functions | |
| __construct ($element=null, $mediaSource=null) | |
| encode () | |
| getMediaSource () | |
| setMediaSource ($value) | |
Protected Attributes | |
| $_mediaSource = null | |
Definition at line 48 of file MediaEntry.php.
| __construct | ( | $ | element = null, |
| $ | mediaSource = null |
||
| ) |
Constructs a new MediaEntry, representing XML data and optional file to upload
| DOMElement | $element | (optional) DOMElement from which this object should be constructed. |
Definition at line 64 of file MediaEntry.php.

| encode | ( | ) |
Return the MIME multipart representation of this MediaEntry.
Reimplemented from Zend_Gdata_App_Base.
Definition at line 77 of file MediaEntry.php.

| getMediaSource | ( | ) |
Return the MediaSource object representing the file attached to this MediaEntry.
Definition at line 96 of file MediaEntry.php.

| setMediaSource | ( | $ | value | ) |
Set the MediaSource object (file) for this MediaEntry
| Zend_Gdata_App_MediaSource | $value | The attached MediaSource/file |
Definition at line 107 of file MediaEntry.php.
$_mediaSource = null [protected] |
Definition at line 55 of file MediaEntry.php.