Zend_Gdata_App_BaseMediaSourceImplements interfaces:
Concrete class to use a file handle as an attachment within a MediaEntry.
Located in /Gdata/App/BaseMediaSource.php (line 38)
| Class | Description |
|---|---|
Zend_Gdata_App_MediaFileSource
|
Concrete class to use a file handle as an attachment within a MediaEntry. |
string
$_contentType
= null (line 46)
The content type for the attached file (example image/png)
string
$_slug
= null (line 55)
The slug header value representing the attached file title, or null if no slug should be used. The slug header is only necessary in some cases, usually when a multipart upload is not being performed.
getContentType (line 62)
The content type for the attached file (example image/png)
getSlug (line 85)
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.
setContentType (line 73)
Set the content type for the file attached (example image/png)
setSlug (line 96)
Sets the Slug header value. Used by some services to determine the title for the uploaded file. A null value indicates no slug header.
__get (line 111)
Magic getter to allow acces like $source->foo to call $source->getFoo() Alternatively, if no getFoo() is defined, but a $_foo protected variable is defined, this is returned.
TODO Remove ability to bypass getFoo() methods??
__isset (line 154)
Magic __isset method
__set (line 135)
Magic setter to allow acces like $source->foo='bar' to call $source->setFoo('bar') automatically.
Alternatively, if no setFoo() is defined, but a $_foo protected variable is defined, this is returned.
Documentation generated on Mon, 21 Jun 2010 15:08:49 -0400 by phpDocumentor 1.4.3