LiveUser::setLoginFunction() -- Sets a callback login function.
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
- string
$functionName
The name of the function to be called.
Return value
returns void or PEAR_Error
Throws
throws no exceptions thrown
Note
This function can not be called
statically.