helpers\BaseUrl remember()

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.

doc_Yii
2016-10-30 17:05:34
Comments
Leave a Comment

Please login to continue.