Class jResponseRedirectUrl

Description

Response To redirect to an URL

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

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

true if it is a temporary redirection

  • access: public
string $url = '' (line 26)

full url to redirect

  • access: public
mixed $_type = 'redirectUrl' (line 20)
  • access: protected

Redefinition of:
jResponse::$_type

Inherited Variables

Inherited from jResponse

jResponse::$forcedHttpVersion
jResponse::$httpVersion
jResponse::$_httpHeaders
jResponse::$_httpHeadersSent
jResponse::$_httpStatusCode
jResponse::$_httpStatusMsg
jResponse::$_outputOnlyHeaders
Methods
output (line 50)
  • access: public
void output ()

Redefinition of:
jResponse::output()
Send the response in the correct format. If errors or exceptions appears during this method, outputErrors will be called. So the the content should be generated using the output buffer if errors can be appeared during this generation. Be care of http headers.
toReferer (line 39)

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::addHttpHeader()
jResponse::cleanCacheHeaders()
jResponse::clearHttpHeaders()
jResponse::getFormatType()
jResponse::getType()
jResponse::isValidCache()
jResponse::output()
jResponse::outputErrors()
jResponse::sendHttpHeaders()
jResponse::setExpires()
jResponse::setHttpStatus()
jResponse::setLifetime()
jResponse::_checkRequestType()
jResponse::_normalizeDate()

Documentation generated on Wed, 04 Jan 2017 22:56:22 +0100 by phpDocumentor 1.4.3