Zend Framework  1.12
Public Member Functions | List of all members
Zend_Gdata_App_MediaSource Interface Reference

Public Member Functions

 encode ()
 Return a byte stream representation of this object.
 
 setContentType ($value)
 Set the content type for the file attached (example image/png)
 
 getContentType ()
 The content type for the file attached (example image/png)
 
 setSlug ($value)
 
 getSlug ()
 Returns the Slug header value.
 

Member Function Documentation

encode ( )

Return a byte stream representation of this object.

Returns
string

Implemented in Zend_Gdata_App_MediaFileSource.

getContentType ( )

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)