Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
mixed $_id = ''Request ID
Detailsbool $_isMethodError = 'false'Flag
Detailsstring $_method = ''Requested method
Detailsstring $_methodRegex = '/^[a-z][a-z0-9_.]*$/i'Regex for method
Detailsarray $_params = 'array'Request parameters
Detailsstring $_version = '1.0'JSON-RPC version of request
Details__toString(
)
:
stringCast request to string (JSON)
DetailsaddParam(
mixed $value, string $key
=
null
)
:
Zend_Json_Server_RequestAdd a parameter to the request
DetailsaddParams(
array $params
)
:
Zend_Json_Server_RequestAdd many params
DetailsgetId(
)
:
mixedRetrieve request identifier
DetailsgetMethod(
)
:
stringGet request method name
DetailsgetParam(
int|string $index
)
:
mixed|nullRetrieve param by index or key
DetailsgetParams(
)
:
arrayRetrieve parameters
DetailsgetVersion(
)
:
stringRetrieve JSON-RPC version
DetailsisMethodError(
)
:
boolWas a bad method provided?
DetailsloadJson(
string $json
)
:
voidSet request state based on JSON
DetailssetId(
mixed $name
)
:
Zend_Json_Server_RequestSet request identifier
DetailssetMethod(
string $name
)
:
Zend_Json_Server_RequestSet request method
DetailssetOptions(
array $options
)
:
Zend_Json_Server_RequestSet request state
DetailssetParams(
array $params
)
:
Zend_Json_Server_RequestOverwrite params
DetailssetVersion(
string $version
)
:
Zend_Json_Server_RequestSet JSON-RPC version
DetailstoJson(
)
:
stringCast request to JSON
Details