Class Gadget_Redirect

Description

Gadget_Redirect

  • since: 1.2

Located in /Gadget/Redirect.php (line 30)


	
			
Method Summary
Gadget_Redirect Gadget_Redirect (string $uri, [array $params = array()], [bool $session = false])
void back ([mixed $upperLocation = false])
void external (string $uri)
void internal ([string $uri = null], [array $params = array()])
void login ()
Methods
Constructor Gadget_Redirect (line 40)

Gadget_Redirect

  • access: public
Gadget_Redirect Gadget_Redirect (string $uri, [array $params = array()], [bool $session = false])
  • string $uri: URI to redirect to.
  • array $params: Parameters to append to the query string.
  • bool $session: Whether to append session name and id.
back (line 120)

Redirect Back

Attempts to redirect back to previous page.

  • access: public
void back ([mixed $upperLocation = false])
external (line 106)

Redirect External

Issues an external redirect. That means that the session will be removed and the redirect points to a configured redirection page. This ensures that eventually existing session information will be stripped from the url and will *not* show up in the referrer log of the foreign server.

void external (string $uri)
  • string $uri: URI to redirect to.
internal (line 82)

Redirect Internal

Issues an internal redirect. That means that the session will be preserved and the redirect points directly to the specified URL.

void internal ([string $uri = null], [array $params = array()])
  • string $uri: URI to redirect to.
  • array $params: Parameters to append to the query string.
login (line 62)

Redirect to Login

Redirects to the configured login page.

void login ()

Documentation generated on Sun, 03 Jul 2005 12:46:05 +0200 by phpDocumentor 1.3.0RC3