| Category | Zend |
| Package | Zend_Gdata |
| Subpackage | App |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |

class Zend_Gdata_App_MediaFileSource extends Zend_Gdata_App_BaseMediaSource
| Category | Zend |
| Package | Zend_Gdata |
| Subpackage | App |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| # $_contentType | The content type for the file attached (example image/png) |
| # $_filename | The filename which is represented |
| + __construct() | Create a new Zend_Gdata_App_MediaFileSource object |
| + __toString() | Alias for getFilename() |
| + encode() | Return the MIME multipart representation of this MediaEntry |
| + getContentType() | The content type for the file attached (example image/png) |
| + getFilename() | Get the filename associated with this reader |
| + setContentType() | Set the content type for the file attached (example image/png) |
| + setFilename() | Set the filename which is to be read |
protected $_contentType = nullprotected $_filename = null
public function __construct( |
$filename)
|
Zend_Gdata_App_MediaFileSource object.string $filename |
The name of the file to read from. |
public function __toString( |
)
|
public function encode( |
)
|
Zend_Gdata_App_IOException
public function getContentType( |
)
|
public function getFilename( |
)
|
public function setContentType( |
$value)
|
string $value |
The content type |
Zend_Gdata_App_MediaFileSource Provides a fluent interface
public function setFilename( |
$value)
|
string $value |
The desired file handle. |
Zend_Gdata_App_MediaFileSource Provides a fluent interface.