eZ Publish Community Project (Legacy Stack) 2013.4
Class

ezpRestMvcResult

class ezpRestMvcResult extends ezcMvcResult implements ezcBaseExportable

This struct contains the result data to be returned by eZP REST controllers

Properties

$responseGroups

Methods

static ezpRestMvcResult __set_state(array $array)

Returns a new instance of this class with the data specified by $array.

Details

at line 31
static public ezpRestMvcResult __set_state(array $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).

__setstate makes this class exportable with varexport. var_export() generates code, that calls this method when it is parsed with PHP.

Parameters

array $array

Return Value

ezpRestMvcResult