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 request to string (JSON)
Inherited from: \Zend_Json_Server_Request::__toString()Type | Description |
---|---|
string |

addParam(
mixed $value, string $key
=
null
)
:
\Zend_Json_Server_Request
Add a parameter to the request
Inherited from: \Zend_Json_Server_Request::addParam()Name | Type | Description |
---|---|---|
$value | mixed | |
$key | string |
Type | Description |
---|---|
\Zend_Json_Server_Request |

addParams(
array $params
)
:
\Zend_Json_Server_Request
Add many params
Inherited from: \Zend_Json_Server_Request::addParams()
getId(
)
:
mixed
Retrieve request identifier
Inherited from: \Zend_Json_Server_Request::getId()Type | Description |
---|---|
mixed |

getMethod(
)
:
string
Get request method name
Inherited from: \Zend_Json_Server_Request::getMethod()Type | Description |
---|---|
string |

getParam(
int|string $index
)
:
mixed|null
Retrieve param by index or key
Inherited from: \Zend_Json_Server_Request::getParam()Name | Type | Description |
---|---|---|
$index | int|string |
Type | Description |
---|---|
mixednull | Null when not found |

getParams(
)
:
array
Retrieve parameters
Inherited from: \Zend_Json_Server_Request::getParams()Type | Description |
---|---|
array |

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

isMethodError(
)
:
bool
Was a bad method provided?
Inherited from: \Zend_Json_Server_Request::isMethodError()Type | Description |
---|---|
bool |

loadJson(
string $json
)
:
void
Set request state based on JSON
Inherited from: \Zend_Json_Server_Request::loadJson()Name | Type | Description |
---|---|---|
$json | string |

setId(
mixed $name
)
:
\Zend_Json_Server_Request
Set request identifier
Inherited from: \Zend_Json_Server_Request::setId()
setMethod(
string $name
)
:
\Zend_Json_Server_Request
Set request method
Inherited from: \Zend_Json_Server_Request::setMethod()
setOptions(
array $options
)
:
\Zend_Json_Server_Request
Set request state
Inherited from: \Zend_Json_Server_Request::setOptions()
setParams(
array $params
)
:
\Zend_Json_Server_Request
Overwrite params
Inherited from: \Zend_Json_Server_Request::setParams()
setVersion(
string $version
)
:
\Zend_Json_Server_Request
Set JSON-RPC version
Inherited from: \Zend_Json_Server_Request::setVersion()
toJson(
)
:
string
Cast request to JSON
Inherited from: \Zend_Json_Server_Request::toJson()Type | Description |
---|---|
string |