Documentation

Horde_Registry_Logout
in package

Manage the logout tasks registered with Horde_Registry.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
2.13.0

Table of Contents

Constants

SESSION_KEY  = 'registry_logout'
Session storage key.

Methods

add()  : mixed
Add a class to the logout queue.
run()  : mixed
Runs the list of logout tasks and clears the queue.
_getTasks()  : mixed
Return the list of logout tasks.
_setTasks()  : mixed
Set the list of logout tasks.

Constants

SESSION_KEY

Session storage key.

public mixed SESSION_KEY = 'registry_logout'

Methods

add()

Add a class to the logout queue.

public add(mixed $classname) : mixed
Parameters
$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()

Runs the list of logout tasks and clears the queue.

public run() : mixed

_getTasks()

Return the list of logout tasks.

private _getTasks() : mixed

_setTasks()

Set the list of logout tasks.

private _setTasks(array<string|int, mixed> $queue) : mixed
Parameters
$queue : array<string|int, mixed>

List of classnames.


        
On this page

Search results