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.

__toString(
)
:
string
Cast to string (JSON)
Inherited from: \Zend_Json_Server_Response::__toString()Type | Description |
---|---|
string |

getArgs(
)
:
mixed
Retrieve args
Inherited from: \Zend_Json_Server_Response::getArgs()Type | Description |
---|---|
mixed |

getError(
)
:
null|\Zend_Json_Server_Error
Get response error
Inherited from: \Zend_Json_Server_Response::getError()Type | Description |
---|---|
null\Zend_Json_Server_Error |

getId(
)
:
mixed
Get request ID
Inherited from: \Zend_Json_Server_Response::getId()Type | Description |
---|---|
mixed |

getResult(
)
:
mixed
Get result
Inherited from: \Zend_Json_Server_Response::getResult()Type | Description |
---|---|
mixed |

getServiceMap(
)
:
\Zend_Json_Server_Smd|null
Retrieve service map
Inherited from: \Zend_Json_Server_Response::getServiceMap()Type | Description |
---|---|
\Zend_Json_Server_Smdnull |

getVersion(
)
:
string
Retrieve JSON-RPC version
Inherited from: \Zend_Json_Server_Response::getVersion()Type | Description |
---|---|
string |

isError(
)
:
bool
Is the response an error?
Inherited from: \Zend_Json_Server_Response::isError()Type | Description |
---|---|
bool |

sendHeaders(
)
:
void
Send headers
If headers are already sent, do nothing. If null ID, send HTTP 204 header. Otherwise, send content type header based on content type of service map.

setArgs(
mixed $args
)
:
\Zend_Json_Server_Response_Http
Set args
Inherited from: \Zend_Json_Server_Response::setArgs()Name | Type | Description |
---|---|---|
$args | mixed |
Type | Description |
---|---|
\Zend_Json_Server_Response_Http |

setError(
\Zend_Json_Server_Error $error
)
:
\Zend_Json_Server_Response
Set result error
Inherited from: \Zend_Json_Server_Response::setError()Name | Type | Description |
---|---|---|
$error | \Zend_Json_Server_Error |
Type | Description |
---|---|
\Zend_Json_Server_Response |

setId(
mixed $name
)
:
\Zend_Json_Server_Response
Set request ID
Inherited from: \Zend_Json_Server_Response::setId()
setResult(
mixed $value
)
:
\Zend_Json_Server_Response
Set result
Inherited from: \Zend_Json_Server_Response::setResult()
setServiceMap(
\Zend_Json_Server_Smd $serviceMap
)
:
\Zend_Json_Server_Response
Set service map object
Inherited from: \Zend_Json_Server_Response::setServiceMap()Name | Type | Description |
---|---|---|
$serviceMap | \Zend_Json_Server_Smd |
Type | Description |
---|---|
\Zend_Json_Server_Response |

setVersion(
string $version
)
:
\Zend_Json_Server_Response
Set JSON-RPC version
Inherited from: \Zend_Json_Server_Response::setVersion()Name | Type | Description |
---|---|---|
$version | string |
Type | Description |
---|---|
\Zend_Json_Server_Response |