## Interface Zend_Gdata_App_MediaSource

Description

Interface for defining data that can be encoded and sent over the network.

- copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license: New BSD License

Located in /Gdata/App/MediaSource.php (line 33)

Method Summary
string encode ()
string getContentType ()
string getSlug ()
Zend_Gdata_App_MediaFileSource setContentType (string $value)
Zend_Gdata_App_MediaSource setSlug ( $value)
Methods
encode (line 40)

Return a byte stream representation of this object.

- access: public

string encode ()
getContentType (line 55)

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

- return: The content type
- access: public

string getContentType ()
getSlug (line 72)

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.

- return: The slug value
- access: public

string getSlug ()
setContentType (line 48)

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

- return: Provides a fluent interface
- access: public

Zend_Gdata_App_MediaFileSource setContentType (string $value)

- string $value: The content type

setSlug (line 64)

Sets the Slug header value. Used by some services to determine the title for the uploaded file. A null value indicates no slug header.

- var: The slug value
- return: Provides a fluent interface
- access: public

Zend_Gdata_App_MediaSource setSlug ( $value)

- $value

Documentation generated on Tue, 26 Oct 2010 20:08:59 +0400 by phpDocumentor 1.4.2