Class jJsonRpcRequest

Description

handle a JSON-rpc call. The response has to be a json rpc response.

Located in /core/request/jJsonRpcRequest.class.php (line 22)

jRequest
   |
   --jJsonRpcRequest
Variable Summary
Method Summary
void _initParams ()
Variables
mixed $defaultResponseType = 'jsonrpc' (line 26)
  • access: public

Redefinition of:
jRequest::$defaultResponseType
the type of the default response
mixed $jsonRequestId = null (line 28)
  • access: public
mixed $type = 'jsonrpc' (line 24)
  • access: public

Redefinition of:
jRequest::$type
the request type code

Inherited Variables

Inherited from jRequest

jRequest::$params
jRequest::$urlPathInfo
jRequest::$urlScript
jRequest::$urlScriptName
jRequest::$urlScriptPath
jRequest::$url_path_info
jRequest::$url_script_name
jRequest::$url_script_path
Methods
allowedResponses (line 63)
  • access: public
void allowedResponses ()

Redefinition of:
jRequest::allowedResponses()
return a list of class name of allowed response corresponding to the request
_initParams (line 33)

analyse the http request and set the params property

  • access: protected
void _initParams ()

Redefinition of:
jRequest::_initParams()
analyse the http request and sets the params property

Inherited Methods

Inherited From jRequest

jRequest::__construct()
jRequest::allowedResponses()
jRequest::getParam()
jRequest::getResponse()
jRequest::init()
jRequest::isAllowedResponse()
jRequest::_initParams()
jRequest::_initUrlDatas()

Documentation generated on Wed, 07 Sep 2011 13:47:33 +0200 by phpDocumentor 1.4.3