Class jResponseRedirect

Description

Response To redirect to an action

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

jResponse
   |
   --jResponseRedirect
Variable Summary
string $action
mixed $anchor
mixed $params
boolean $temporary
string $_type
Method Summary
void output ()
void outputErrors ()
Variables
string $action = '' (line 32)

selector of the action where you want to redirect.

jUrl will be used to get the real url

  • access: public
mixed $anchor = '' (line 38)

the anchor you want to add to the final url. leave blank if you don't one.

  • since: 1.0b2
  • access: public
mixed $params = array() (line 43)

parameters for the action/url

  • access: public
boolean $temporary = true (line 49)

true if it is a temporary redirection

  • access: public
string $_type = 'redirect' (line 25)
  • access: protected

Redefinition of:
jResponse::$_type

Inherited Variables

Inherited from jResponse

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

Redefinition of:
jResponse::output()
Send the response in the correct format.
outputErrors (line 62)
  • 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, 19 Sep 2013 00:06:49 +0200 by phpDocumentor 1.4.3