Class jResponseRedirectUrl

Description

Response To redirect to an URL

Located in /core/response/jResponseRedirectUrl.class.php (line 19)

jResponse
   |
   --jResponseRedirectUrl
Variable Summary
string $url
mixed $_type
Method Summary
void output ()
void outputErrors ()
boolean toReferer ([ $defaultUrl = ''])
Variables
string $url = '' (line 26)

full url to redirect

  • access: public
mixed $_type = 'redirectUrl' (line 20)
  • 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 45)
  • access: public
void output ()

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

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

set the url with the referer URL

  • return: true if there is a referer URL
  • since: 1.0
  • access: public
boolean toReferer ([ $defaultUrl = ''])
  • $defaultUrl

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:47 +0200 by phpDocumentor 1.4.3