Class jResponseJsonRpc

Description

Response for jsonrpc protocol

Located in /core/response/jResponseJsonrpc.class.php (line 21)

jResponse
   |
   --jResponseJsonRpc
Variable Summary
Method Summary
void output ()
void outputErrors ()
Variables
mixed $response = null (line 32)

PHP data you want to return

  • access: public
mixed $_acceptSeveralErrors = false (line 26)
  • access: protected

Redefinition of:
jResponse::$_acceptSeveralErrors
string $_type = 'jsonrpc' (line 25)
  • access: protected

Redefinition of:
jResponse::$_type
ident of the response type

Inherited Variables

Inherited from jResponse

jResponse::$_errorMessages
jResponse::$_httpHeaders
jResponse::$_httpHeadersSent
jResponse::$_httpStatusCode
jResponse::$_httpStatusMsg
Methods
output (line 35)
  • access: public
void output ()

Redefinition of:
jResponse::output()
Send the response in the correct format.
outputErrors (line 53)
  • access: public
void outputErrors ()

Redefinition of:
jResponse::outputErrors()
Send a response with only error messages which appears during the action

Inherited Methods

Inherited From jResponse

jResponse::__construct()
jResponse::acceptSeveralErrors()
jResponse::addHttpHeader()
jResponse::clearHttpHeaders()
jResponse::getFormatType()
jResponse::getType()
jResponse::hasErrors()
jResponse::output()
jResponse::outputErrors()
jResponse::sendHttpHeaders()
jResponse::setHttpStatus()

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