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