PHP Class Horde_Registry_Logout, horde

Since: 2.13.0
Author: Michael Slusarz ([email protected])
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
add ( mixed $classname ) Add a class to the logout queue.
run ( ) Runs the list of logout tasks and clears the queue.

Private Methods

Method Description
_getTasks ( ) Return the list of logout tasks.
_setTasks ( array $queue ) Set the list of logout tasks.

Method Details

add() public method

Add a class to the logout queue.
public add ( mixed $classname )
$classname mixed The classname to add (or an object of that class). The class must be able to be instantiated via Horde_Injector and must implement the Horde_Registry_Logout_Task interface.

run() public method

Runs the list of logout tasks and clears the queue.
public run ( )