remember() public static method
Remembers the specified URL so that it can be later fetched back by previous().
See also previous().
public static void remember ( $url = '', $name = null ) | ||
---|---|---|
$url | string|array |
The URL to remember. Please refer to to() for acceptable formats. If this parameter is not specified, the currently requested URL will be used. |
$name | string |
The name associated with the URL to be remembered. This can be used later by previous(). If not set, it will use yii\web\User::$returnUrlParam. |
Please login to continue.