public setRedirect ( string $path, integer $code = 303 ) | ||
$path | string | The path to redirect to |
$code | integer | The HTTP redirect code |
public function setRedirect($path, $code = 303)
{
$this->redirect = $path;
$this->redirectCode = $code;
}