Solar_Controller_Page::_redirect()
protected
void
Solar_Controller_Page::_redirect
( Solar_Uri_Action|string $spec
, int|string $code = 302
)
Redirects to another controller and action, then calls exit(0).
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 controller and action, then calls exit(0).