This struct contains content meta-data
Source for this file: /MvcTools/src/structs/result_content.php
ezcBaseStruct | --ezcMvcResultContent
Version: | //autogentag// |
public string |
$charset
The character set |
public ezcMvcResultContentDisposition |
$disposition
The content disposition information |
public string |
$encoding
The content "encoding" (gzip, etc). |
public string |
$language
The content's language |
public string |
$type
The content's mime-type |
public static ezcMvcResultContent |
__set_state(
$array
)
Returns a new instance of this class with the data specified by $array. |
public ezcMvcResultContent |
__construct(
[ $language
= ''] , [ $type
= ''] , [ $charset
= ''] , [ $encoding
= ''] , [ $disposition
= null] )
Constructs a new ezcMvcResultContent. |
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.
Name | Type | Description |
---|---|---|
$array |
array(string=>mixed) |
Constructs a new ezcMvcResultContent.
Name | Type | Description |
---|---|---|
$language |
string | |
$type |
string | |
$charset |
string | |
$encoding |
string | |
$disposition |
ezcMvcResultContentDisposition |