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


Public Member Functions | |
| __construct ($filename) | |
| encode () | |
| getFilename () | |
| setFilename ($value) | |
| getContentType () | |
| setContentType ($value) | |
| __toString () | |
Protected Attributes | |
| $_filename = null | |
| $_contentType = null | |
Definition at line 38 of file MediaFileSource.php.
| __construct | ( | $ | filename | ) |
Create a new Zend_Gdata_App_MediaFileSource object.
| string | $filename | The name of the file to read from. |
Definition at line 59 of file MediaFileSource.php.

| __toString | ( | ) |
Alias for getFilename().
Definition at line 141 of file MediaFileSource.php.

| encode | ( | ) |
Return the MIME multipart representation of this MediaEntry.
| Zend_Gdata_App_IOException |
Implements Zend_Gdata_App_MediaSource.
Definition at line 70 of file MediaFileSource.php.

| getContentType | ( | ) |
The content type for the file attached (example image/png)
Reimplemented from Zend_Gdata_App_BaseMediaSource.
Definition at line 119 of file MediaFileSource.php.
| getFilename | ( | ) |
Get the filename associated with this reader.
Definition at line 97 of file MediaFileSource.php.

| setContentType | ( | $ | value | ) |
Set the content type for the file attached (example image/png)
| string | $value | The content type |
Reimplemented from Zend_Gdata_App_BaseMediaSource.
Definition at line 130 of file MediaFileSource.php.
| setFilename | ( | $ | value | ) |
Set the filename which is to be read.
| string | $value | The desired file handle. |
Definition at line 108 of file MediaFileSource.php.

$_contentType = null [protected] |
Reimplemented from Zend_Gdata_App_BaseMediaSource.
Definition at line 52 of file MediaFileSource.php.
$_filename = null [protected] |
Definition at line 45 of file MediaFileSource.php.