| Auth::setIdle() | Auth::setLogoutCallback() |
| Auth | |
| PEAR Manual | |
void Auth::setLoginCallback (
string $loginCallback
)
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.
the call back function to use
This function can not be called statically.
| Auth::setIdle() | Auth::setLogoutCallback() |
| Auth | |
| PEAR Manual | |