MvcTools: ezcMvcResultContent
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMvcResultContent
|
This struct contains content meta-data [
source]
Parents
ezcBaseStruct
|
--ezcMvcResultContent
Member Variables
|
public string |
$charset
The character set |
|
public string |
$encoding
The content "encoding" (gzip, etc). |
|
public string |
$language
The content's language |
|
public string |
$type
The content's mime-type |
Method Summary
|
public ezcMvcResultContent |
__construct(
[$language = ''], [$type = ''], [$charset = ''], [$encoding = ''] )
Constructs a new ezcMvcResultContent. |
|
public static ezcMvcResultContent |
__set_state(
$array )
Returns a new instance of this class with the data specified by $array. |
Methods
__construct
ezcMvcResultContent __construct(
[string
$language = ''], [string
$type = ''], [string
$charset = ''], [string
$encoding = ''] )
Constructs a new ezcMvcResultContent.
Parameters
| Name |
Type |
Description |
$language |
string |
|
$type |
string |
|
$charset |
string |
|
$encoding |
string |
|
__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.
Parameters
| Name |
Type |
Description |
$array |
array(string=>mixed) |
|
Last updated: Mon, 09 Feb 2009