Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_App_MediaSource Interface Reference
Inheritance diagram for Zend_Gdata_App_MediaSource:

Public Member Functions

 encode ()
 setContentType ($value)
 getContentType ()
 setSlug ($value)
 getSlug ()

Detailed Description

Definition at line 33 of file MediaSource.php.


Member Function Documentation

encode ( )

Return a byte stream representation of this object.

Returns:
string

Implemented in Zend_Gdata_App_MediaFileSource.

The content type for the file attached (example image/png)

Returns:
string The content type

Implemented in Zend_Gdata_App_MediaFileSource, and Zend_Gdata_App_BaseMediaSource.

getSlug ( )

Returns the Slug header value. Used by some services to determine the title for the uploaded file. Returns null if no slug should be used.

Returns:
string The slug value

Implemented in Zend_Gdata_App_BaseMediaSource.

setContentType ( value)

Set the content type for the file attached (example image/png)

Parameters:
string$valueThe content type
Returns:
Zend_Gdata_App_MediaFileSource Provides a fluent interface

Implemented in Zend_Gdata_App_MediaFileSource, and Zend_Gdata_App_BaseMediaSource.

setSlug ( value)

The documentation for this interface was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations