Class jResponseJson

Description

Json response

Located in /core/response/jResponseJson.class.php (line 22)

jResponse
   |
   --jResponseJson
Variable Summary
Method Summary
void output ()
void outputErrors ()
Variables
mixed $datas = null (line 29)

data in PHP you want to send

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

Redefinition of:
jResponse::$_acceptSeveralErrors

Inherited Variables

Inherited from jResponse

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

Redefinition of:
jResponse::output()
Send the response in the correct format.
outputErrors (line 45)
  • 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:45 +0200 by phpDocumentor 1.4.3