MvcTools: ezcMvcRequestUserAgent
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMvcRequestUserAgent
|
Struct which defines a request user agent. [
source]
Parents
ezcBaseStruct
|
--ezcMvcRequestUserAgent
Member Variables
|
public string |
$agent
Request user agent. |
Method Summary
|
public ezcMvcRequestUserAgent |
__construct(
[$agent = ''] )
Constructs a new ezcMvcRequestUserAgent. |
|
public static ezcMvcRequestUserAgent |
__set_state(
$array )
Returns a new instance of this class with the data specified by $array. |
Methods
__construct
ezcMvcRequestUserAgent __construct(
[string
$agent = ''] )
Constructs a new ezcMvcRequestUserAgent.
Parameters
| Name |
Type |
Description |
$agent |
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, 30 Mar 2009