Mail: ezcMailContentDispositionHeader
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMailContentDispositionHeader
|
A container to store a Content-Disposition header as described in http://www.faqs.org/rfcs/rfc2183. [
source]
This container is used on the contentDisposition property on mail parts. It should primarily be used for reading.
Member Variables
|
public array(string=>string) |
$additionalParameters
= array()
Any additional parameters provided in the Content-Disposition header. |
|
public string |
$creationDate
The creation date of the file attachment. |
|
public string |
$disposition
The disposition type, either "inline" or "attachment". |
|
public string |
$fileName
The filename of the attachment. |
|
public string |
$modificationDate
The last modification date of the file attachment. |
|
public string |
$readDate
The last date the file attachment was read. |
|
public int |
$size
The size of the content in bytes. |
Method Summary
|
public ezcMailContentDispositionHeader |
__construct(
[$disposition = 'inline'], [$fileName = null], [$creationDate = null], [$modificationDate = null], [$readDate = null], [$size = null], [$additionalParameters = array()], $email, $name )
Constructs a new ezcMailAddress with the mail address $email and the optional name $name. |
|
public static ezcMailAddress |
__set_state(
$array )
Returns a new instance of this class with the data specified by $array. |
Methods
__construct
ezcMailContentDispositionHeader __construct(
[
$disposition = 'inline'], [
$fileName = null], [
$creationDate = null], [
$modificationDate = null], [
$readDate = null], [
$size = null], [
$additionalParameters = array()], string
$email, string
$name )
Constructs a new ezcMailAddress with the mail address $email and the optional name $name.
Parameters
| Name |
Type |
Description |
$email |
string |
|
$name |
string |
|
$disposition |
|
|
$fileName |
|
|
$creationDate |
|
|
$modificationDate |
|
|
$readDate |
|
|
$size |
|
|
$additionalParameters |
|
|
__set_state
Returns a new instance of this class with the data specified by $array.
$array contains all the data members of this class in the form: array('member_name'=>value).
__set_state makes this class exportable with var_export. var_export() generates code, that calls this method when it is parsed with PHP.
Last updated: Wed, 28 Nov 2007