kernel/private/rest/classes/response/result.php
File containing ezpRestResult class
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\ezpRestMvcResult
Package: Default
Parameters
Returns
This struct contains the result data to be returned by eZP REST controllers
- Parent(s)
- \ezcMvcResult\ezcBaseExportable
Properties
Methods


__set_state(
\array(string=>mixed) $array
)
:
\ezpRestMvcResult
static
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.
Name | Type | Description |
---|---|---|
$array | \array(string=>mixed) |
Type | Description |
---|---|
\ezpRestMvcResult |