MvcTools: ezcMvcResult
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcMvcResult
|
This struct contains the result data to be formatted by a response writer. [
source]
Parents
ezcBaseStruct
|
--ezcMvcResult
Member Variables
Method Summary
|
public ezcMvcResult |
__construct(
[$status = 0], [$date = null], [$generator = ''], [$cache = null], [$cookies = array()], [$content = null], [$variables = array()] )
Constructs a new ezcMvcResult. |
|
public static ezcMvcResult |
__set_state(
$array )
Returns a new instance of this class with the data specified by $array. |
Methods
__construct
ezcMvcResult __construct(
[int
$status = 0], [DateTime
$date = null], [string
$generator = ''], [
ezcMvcResultCache
$cache = null], [array(ezcMvcResultCookie)
$cookies = array()], [
ezcMvcResultContent
$content = null], [array(mixed)
$variables = array()] )
Constructs a new ezcMvcResult.
Parameters
__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, 09 Feb 2009