Concrete class to use a file handle as an attachment within a MediaEntry.
category | Zend |
---|---|
package | Zend_Gdata |
subpackage | App |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Gdata_App_BaseMediaSource |
__construct(string $filename)
string
The name of the file to read from.
__get(string $name)
TODO Remove ability to bypass getFoo() methods??
string
The variable name sought
__isset(string $name)
string
__set(string $name, $val)
Alternatively, if no setFoo() is defined, but a $_foo protected variable is defined, this is returned.
string
__toString() : string
string
encode() : string
\Zend_Gdata_App_IOException |
---|
string
getContentType() : string
inherited_from | \Zend_Gdata_App_BaseMediaSource::getContentType() |
---|
string
The content typegetContentType() : string
inherited_from | \Zend_Gdata_App_MediaSource::getContentType() |
---|
string
The content typegetFilename() : string
string
getSlug() : string
inherited_from | \Zend_Gdata_App_MediaSource::getSlug() |
---|
string
setContentType(string $value) : \Zend_Gdata_App_MediaFileSource
inherited_from | \Zend_Gdata_App_BaseMediaSource::setContentType() |
---|
string
The content type
\Zend_Gdata_App_MediaFileSource
Provides a fluent interfacesetContentType(string $value) : \Zend_Gdata_App_MediaFileSource
inherited_from | \Zend_Gdata_App_MediaSource::setContentType() |
---|
string
The content type
\Zend_Gdata_App_MediaFileSource
Provides a fluent interfacesetFilename(string $value) : \Zend_Gdata_App_MediaFileSource
string
The desired file handle.
\Zend_Gdata_App_MediaFileSource
Provides a fluent interface.setSlug($value) : \Zend_Gdata_App_MediaSource
var | The slug value |
---|---|
inherited_from | \Zend_Gdata_App_MediaSource::setSlug() |
\Zend_Gdata_App_MediaSource
Provides a fluent interface$_contentType : string
null
inherited_from | \Zend_Gdata_App_BaseMediaSource::_contentType |
---|
$_contentType : string
null
$_filename : string
null
$_slug : string
null