메소드 | 설명 | |
---|---|---|
home ( ) | To the homepage | |
to ( $path ) | To the defined page, uses a relative path (like "user/profile") | |
toPreviousViewedPageAfterLogin ( $path ) | To the last visited page before user logged in (useful when people are on a certain page inside your application and then want to log in (to edit or comment something for example) and don't to be redirected to the main page). |
public static to ( $path ) | ||
$path | string |
public static toPreviousViewedPageAfterLogin ( $path ) | ||
$path | string |