Path

ez components / documentation / api reference / 2009.2.1 / mvctools


eZ Components 2009.2.1

MvcTools: ezcMvcRequestUserAgent

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

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

ezcMvcRequestUserAgent __set_state( $array )
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: Tue, 23 Mar 2010