Overview

Packages

  • LoginTasks

Classes

  • Horde_LoginTasks
  • Horde_LoginTasks_Backend
  • Horde_LoginTasks_SystemTask
  • Horde_LoginTasks_Task
  • Horde_LoginTasks_Tasklist
  • Horde_LoginTasks_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_LoginTasks_Backend

The Horde_LoginTasks_Backend:: class provides the specific backend providing the dependencies of the LoginTasks system (e.g. preferences, session storage, redirection facilites, shutdown management etc.)

Copyright 2001-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Abstract
Package: LoginTasks
Category: Horde
License: LGPL 2.1
Author: Michael Slusarz slusarz@horde.org
Author: Gunnar Wrobel wrobel@pardus.de
Located at Horde/LoginTasks/Backend.php
Methods summary
abstract public Horde_LoginTasks_Tasklist|boolean
# getTasklistFromCache( )

Retrieve a cached tasklist if it exists.

Retrieve a cached tasklist if it exists.

Returns

Horde_LoginTasks_Tasklist|boolean

The cached task list or false if no task list was cached.

abstract public
# storeTasklistInCache( Horde_LoginTasks_Tasklist|boolean $tasklist )

Store a login tasklist in the cache.

Store a login tasklist in the cache.

Parameters

$tasklist
<p>The tasklist to be stored.</p>
abstract public array
# getTasks( )

Get the class names of the task classes that need to be performed.

Get the class names of the task classes that need to be performed.

Returns

array
An array of class names.
abstract public array
# getLastRun( )

Get the information about the last time the tasks were run. Array keys are app names, values are last run timestamps. Special key '_once' contains list of ONCE tasks previously run.

Get the information about the last time the tasks were run. Array keys are app names, values are last run timestamps. Special key '_once' contains list of ONCE tasks previously run.

Returns

array
The information about the last time the tasks were run.
abstract public
# setLastRun( array $last )

Store the information about the last time the tasks were run.

Store the information about the last time the tasks were run.

Parameters

$last
<p>The information about the last time the tasks were run.</p>
abstract public
# markLastRun( )

Mark the current time as time the login tasks were run for the last time.

Mark the current time as time the login tasks were run for the last time.

abstract public
# redirect( string $url )

Redirect to the given URL.

Redirect to the given URL.

Parameters

$url
The URL to redirect to.
abstract public string
# getLoginTasksUrl( )

Return the URL of the login tasks view.

Return the URL of the login tasks view.

Returns

string
The URL of the login tasks view
API documentation generated by ApiGen