YEARLY
YEARLY
The Horde_LoginTasks:: class provides a set of methods for dealing with login tasks to run upon login to Horde applications.
Copyright 2001-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
$_tasklist : \Horde_LoginTasks_Tasklist
The Horde_LoginTasks_Tasklist object for this login.
$_backend : \Horde_LoginTasks_Backend
The Horde_LoginTasks_Backend object provides all utilities we need for handling the login tasks.
__construct(\Horde_LoginTasks_Backend $backend)
Constructor.
\Horde_LoginTasks_Backend | $backend | The backend to use. |
runTasks(array $opts = array()) : mixed
Do operations needed for this login.
This function will generate the list of tasks to perform during this login and will redirect to the login tasks page if necessary. This is the function that should be called from the application upon login.
array | $opts | Options:
|
Null in case no redirection took place, the return value from the backend redirect() call otherwise.