Zend Framework
1.12
|
Public Member Functions | |
getContentType () | |
The content type for the attached file (example image/png) | |
setContentType ($value) | |
Set the content type for the file attached (example image/png) | |
getSlug () | |
Returns the Slug header value. | |
setSlug ($value) | |
__get ($name) | |
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. | |
__set ($name, $val) | |
Magic setter to allow acces like $source->foo='bar' to call $source->setFoo('bar') automatically. | |
__isset ($name) | |
Magic __isset method. | |
![]() | |
encode () | |
Return a byte stream representation of this object. | |
Protected Attributes | |
$_contentType = null | |
$_slug = null | |
__get | ( | $name | ) |
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??
string | $name | The variable name sought |
__isset | ( | $name | ) |
Magic __isset method.
string | $name |
__set | ( | $name, | |
$val | |||
) |
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.
string | $name | |
string | $value |
getContentType | ( | ) |
The content type for the attached file (example image/png)
Implements Zend_Gdata_App_MediaSource.
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.
Implements Zend_Gdata_App_MediaSource.
setContentType | ( | $value | ) |
Set the content type for the file attached (example image/png)
string | $value | The content type |
Implements Zend_Gdata_App_MediaSource.
setSlug | ( | $value | ) |
Implements Zend_Gdata_App_MediaSource.
|
protected |
|
protected |