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.
null|Zend_Json_Server_Error $_error = ''
Response error
mixed $_id = ''
Request ID
mixed $_result = ''
Result
Zend_Json_Server_Smd $_serviceMap = ''
Service map
string $_version = ''
JSON-RPC version
__toString(
)
:
string
Cast to string (JSON)
getArgs(
)
:
mixed
Retrieve args
getError(
)
:
null|Zend_Json_Server_Error
Get response error
getId(
)
:
mixed
Get request ID
getResult(
)
:
mixed
Get result
getServiceMap(
)
:
Zend_Json_Server_Smd|null
Retrieve service map
getVersion(
)
:
string
Retrieve JSON-RPC version
isError(
)
:
bool
Is the response an error?
setArgs(
mixed $args
)
:
self
Set args
setError(
Zend_Json_Server_Error $error
)
:
Zend_Json_Server_Response
Set result error
setId(
mixed $name
)
:
Zend_Json_Server_Response
Set request ID
setResult(
mixed $value
)
:
Zend_Json_Server_Response
Set result
setServiceMap(
Zend_Json_Server_Smd $serviceMap
)
:
Zend_Json_Server_Response
Set service map object
setVersion(
string $version
)
:
Zend_Json_Server_Response
Set JSON-RPC version
toJson(
)
:
string
Cast to JSON