Previous Page
_query()

Solar_App_Base
_redirect()

Next Page
_redirectNoCache()

_redirect()

protected void _redirect ( Solar_Uri_Action|string $spec, int|string $code default 302 )

Redirects to another page and action, then calls exit(0).

Inherited from Solar_Controller_Page.

Parameters

  • (Solar_Uri_Action|string) $spec: The URI to redirect to.
  • (int|string) $code: The HTTP status code to redirect with; default is '302 Found'.

Returns

  • (void)

Description

Redirects to another page and action, then calls exit(0).