Auth::setLoginCallback() (Previous) (Next) Auth::setSessionName()

View this page in Last updated: Sun, 17 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Auth::setLogoutCallback()

Auth::setLogoutCallback() -- ログアウトに成功した際のコールバックを設定する

説明

この関数は、ユーザがログアウトに成功した際にコールされるコールバック関数を設定します。

コールバック関数にはふたつのパラメータが渡されます。 ログアウトに成功したユーザ名と、Auth オブジェクトへの参照です。

パラメータ

string $loginCallback

使用するコールバック関数。

注意

この関数は、スタティックにコールする ことはできません。

Auth::setLoginCallback() (Previous) (Next) Auth::setSessionName()

Download Documentation Last updated: Sun, 17 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: spider312@free.fr
Note that if you die() in this callback, logout procedure won't finish, and you won't be logged out

If you want to die on logout, you'll have to check authentification after logging out, and then die if it isn't ok