Struct which defines client-acceptable contents.
Source for this file: /MvcTools/src/structs/request_accept.php
ezcBaseStruct | --ezcMvcRequestAccept
Version: | //autogentag// |
public array |
$charsets
Acceptable charsets. |
public array |
$encodings
Acceptable encodings. |
public array |
$languages
Request languages. |
public array |
$types
Request content types. |
public static ezcMvcRequestAccept |
__set_state(
$array
)
Returns a new instance of this class with the data specified by $array. |
public ezcMvcRequestAccept |
__construct(
[ $types
= array()] , [ $charsets
= array()] , [ $languages
= array()] , [ $encodings
= array()] )
Constructs a new ezcMvcRequestAccept. |
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 ezcMvcRequestAccept.
Name | Type | Description |
---|---|---|
$types |
array | |
$charsets |
array | |
$languages |
array | |
$encodings |
array |