redirect::send($url = false, $code = 302, $send = true)
Redirects the user to a new URL
-
$url (string)
The URL to redirect to -
$code (boolean)
The HTTP status code, which should be sent (301, 302 or 303) -
$send (boolean)
If true, headers will be sent and redirection will take effect