PHP 클래스 Horde_LoginTasks_Backend, horde

Copyright 2001-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])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
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 ( 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.

메소드 상세

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.
abstract public getLastRun ( ) : array
리턴 array The information about the last time the tasks were run.

getLoginTasksUrl() 추상적인 공개 메소드

Return the URL of the login tasks view.
abstract public getLoginTasksUrl ( ) : string
리턴 string The URL of the login tasks view

getTasklistFromCache() 추상적인 공개 메소드

Retrieve a cached tasklist if it exists.
abstract 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.
abstract 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.
abstract public markLastRun ( )

redirect() 추상적인 공개 메소드

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

setLastRun() 추상적인 공개 메소드

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

storeTasklistInCache() 추상적인 공개 메소드

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