Redirect
class Redirect (View source)
Methods
static void
only(string $path, int $code = 302, bool $trigger = true)
Redirect and stop application execution
static void
to(string $path, int $code = 302, bool $trigger = true)
Redirects to a valid path within the application
static bool
back(bool $only = false, bool $trigger = true)
Return to redirect to new path
Details
at line 31
static void
only(string $path, int $code = 302, bool $trigger = true)
Redirect and stop application execution
at line 53
static void
to(string $path, int $code = 302, bool $trigger = true)
Redirects to a valid path within the application
at line 80
static bool
back(bool $only = false, bool $trigger = true)
Return to redirect to new path