previousAuth::setIdle() (Previous) (Next) Auth::setLogoutCallback()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Auth::setLoginCallback()

Auth::setLoginCallback() – set a callback for successful login attempts

Synopsis

void Auth::setLoginCallback ( string $loginCallback )

Description

This function sets a callback function which is called upon successful login of a user account.

The callback function will be passed two parameters, the username that successfully logged in and a reference to the Auth object.

Parameter

string $loginCallback

the call back function to use

Note

This function can not be called statically.

previousAuth::setIdle() (Previous) (Next) Auth::setLogoutCallback()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.