refresh() public method
Refreshes the current page.
The effect of this method call is the same as the user pressing the refresh button of his browser (without re-posting data).
In a controller action you may use this method like this:
return Yii::$app->getResponse()->refresh();
public yii\web\Response refresh ( $anchor = '' ) | ||
---|---|---|
$anchor | string |
The anchor that should be appended to the redirection URL. Defaults to empty. Make sure the anchor starts with '#' if you want to specify it. |
return | yii\web\Response |
The response object itself |
Please login to continue.