class Redirect (View source)

Methods

static 
createRedirectResponse($url, $code, $headers)

Actually sends a redirect.

static 
to()

Redirects to a Concrete resource.

static 
page(Page $c, $code = 302, $headers = array())

Redirect to a page.

static 
url($url, $code = 302, $headers = array())

Redirects to a URL.

Details

static protected createRedirectResponse($url, $code, $headers)

Actually sends a redirect.

Parameters

$url
$code
$headers

static to()

Redirects to a Concrete resource.

static page(Page $c, $code = 302, $headers = array())

Redirect to a page.

Parameters

Page $c
$code
$headers

static url($url, $code = 302, $headers = array())

Redirects to a URL.

Parameters

$url
$code
$headers