web\User beforeLogout()

beforeLogout() protected method

This method is invoked when calling logout() to log out a user.

The default implementation will trigger the EVENT_BEFORE_LOGOUT event. If you override this method, make sure you call the parent implementation so that the event is triggered.

protected boolean beforeLogout ( $identity )
$identity yii\web\IdentityInterface

The user identity information

return boolean

Whether the user should continue to be logged out

doc_Yii
2016-10-30 17:17:19
Comments
Leave a Comment

Please login to continue.