Auth::setLoginCallback()

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

Synopsis

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.

Parameter

string $loginCallback

the call back function to use

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ