LoginManager::setLoginFunction()()

LoginManager::setLoginFunction()() -- LoginManager::setLoginFunction()

Synopsis

require_once 'LoginManager.php';

void LoginManager::setLoginFunction (string $functionName)

Description

The user can set a function that will be called if the user tries to access a page wihout logging in first. It will receive the liveuser object. If an empty string or a non-existent function is passed it deactivates the call.

Parameter