PHP Класс Horde_Core_LoginTasks_Backend_Horde, horde

Copyright 2010-2016 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.
Автор: Michael Slusarz ([email protected])
Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_LoginTasks_Backend
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $app ) Constructor.
getLastRun ( ) : array 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.
getLoginTasksUrl ( ) : string Return the URL of the login tasks view.
getTasklistFromCache ( ) : Horde_LoginTasks_Tasklist | boolean Retrieve a cached tasklist if it exists.
getTasks ( ) : array Get the class names of the task classes that need to be performed.
markLastRun ( ) Mark the current time as time the login tasks were run for the last time.
redirect ( Horde_Url | string $url ) Redirect to the given URL.
setLastRun ( array $last ) Store the information about the last time the tasks were run.
storeTasklistInCache ( Horde_LoginTasks_Tasklist | boolean $tasklist ) Store a login tasklist in the cache.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $app )
$app string The currently active Horde application.

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.
public getLastRun ( ) : array
Результат array The information about the last time the tasks were run.

getLoginTasksUrl() публичный Метод

Return the URL of the login tasks view.
public getLoginTasksUrl ( ) : string
Результат string The URL of the login tasks view.

getTasklistFromCache() публичный Метод

Retrieve a cached tasklist if it exists.
public getTasklistFromCache ( ) : Horde_LoginTasks_Tasklist | boolean
Результат Horde_LoginTasks_Tasklist | boolean The cached task list or false if no task list was cached.

getTasks() публичный Метод

Get the class names of the task classes that need to be performed.
public getTasks ( ) : array
Результат array An array of class names.

markLastRun() публичный Метод

Mark the current time as time the login tasks were run for the last time.
public markLastRun ( )

redirect() публичный Метод

Redirect to the given URL.
public redirect ( Horde_Url | string $url )
$url Horde_Url | string The URL to redirect to.

setLastRun() публичный Метод

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

storeTasklistInCache() публичный Метод

Store a login tasklist in the cache.
public storeTasklistInCache ( Horde_LoginTasks_Tasklist | boolean $tasklist )
$tasklist Horde_LoginTasks_Tasklist | boolean The tasklist to be stored.