MvcTools: ezcMvcRequestAccept
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMvcRequestAccept
|
Struct which defines client-acceptable contents. [
source]
Parents
ezcBaseStruct
|
--ezcMvcRequestAccept
Member Variables
|
public array |
$charsets
Acceptable charsets. |
|
public array |
$encodings
Acceptable encodings. |
|
public array |
$languages
Request languages. |
|
public array |
$types
Request content types. |
Method Summary
|
public ezcMvcRequestAccept |
__construct(
[$types = array()], [$charsets = array()], [$languages = array()], [$encodings = array()] )
Constructs a new ezcMvcRequestAccept. |
|
public static ezcMvcRequestAccept |
__set_state(
$array )
Returns a new instance of this class with the data specified by $array. |
Methods
__construct
ezcMvcRequestAccept __construct(
[array
$types = array()], [array
$charsets = array()], [array
$languages = array()], [array
$encodings = array()] )
Constructs a new ezcMvcRequestAccept.
Parameters
| Name |
Type |
Description |
$types |
array |
|
$charsets |
array |
|
$languages |
array |
|
$encodings |
array |
|
__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, 21 Dec 2009