Path

ez components / documentation / api reference / latest / mvctools


eZ Components latest

MvcTools: ezcMvcRequestCookie

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

Class: ezcMvcRequestCookie

This struct contains cookie arguments [source]

Parents

ezcBaseStruct
   |
   --ezcMvcRequestCookie

Member Variables

public string $name
Cookie name
public string $value
Cookie value

Method Summary

public ezcMvcRequestCookie __construct( [$name = ''], [$value = ''] )
Constructs a new ezcMvcRequestCookie.
public static ezcMvcResultCache __set_state( $array )
Returns a new instance of this class with the data specified by $array.

Methods

__construct

ezcMvcRequestCookie __construct( [string $name = ''], [string $value = ''] )
Constructs a new ezcMvcRequestCookie.

Parameters

Name Type Description
$name string  
$value string  

__set_state

ezcMvcResultCache __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: Mon, 21 Dec 2009