Class jResponseText

Description

plain Text response

Located in /core/response/jResponseText.class.php (line 17)

jResponse
   |
   --jResponseText
Variable Summary
string $content
string $_type
Method Summary
boolean output ()
void outputErrors ()
Variables
string $content = '' (line 27)

text content

  • access: public
string $_type = 'text' (line 21)
  • access: protected

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

Inherited Variables

Inherited from jResponse

jResponse::$_acceptSeveralErrors
jResponse::$_errorMessages
jResponse::$_httpHeaders
jResponse::$_httpHeadersSent
jResponse::$_httpStatusCode
jResponse::$_httpStatusMsg
Methods
output (line 33)

output the content with the text/plain mime type

  • return: true si it's ok
  • access: public
boolean output ()

Redefinition of:
jResponse::output()
Send the response in the correct format.
outputErrors (line 46)

output errors

  • 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 Thu, 22 Mar 2012 22:16:53 +0100 by phpDocumentor 1.4.3