PHP 클래스 Horde_LoginTasks_Tasklist, horde

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

공개 프로퍼티들

프로퍼티 타입 설명
$processed boolean Has this tasklist been processed yet?
$target string The URL of the web page to load after login tasks are complete.

보호된 프로퍼티들

프로퍼티 타입 설명
$_ptr integer Current task location pointer.
$_stasks array The list of system tasks to run during this login.
$_tasks array KEY: Task name VALUE: array => ( 'display' => boolean, 'task' => integer )

공개 메소드들

메소드 설명
addTask ( Horde_LoginTasks_Task $task ) Adds a task to the tasklist.
isDone ( ) : boolean Are all tasks complete?
needDisplay ( boolean $advance = false ) : array Returns the next batch of tasks that need display.
ready ( boolean $advance = false ) : array Returns the list of tasks to perform.

메소드 상세

addTask() 공개 메소드

Adds a task to the tasklist.
public addTask ( Horde_LoginTasks_Task $task )
$task Horde_LoginTasks_Task The task to execute.

isDone() 공개 메소드

Are all tasks complete?
public isDone ( ) : boolean
리턴 boolean True if all tasks are complete.

needDisplay() 공개 메소드

Returns the next batch of tasks that need display.
public needDisplay ( boolean $advance = false ) : array
$advance boolean If true, advance the internal pointer.
리턴 array The list of tasks to display.

ready() 공개 메소드

Returns the list of tasks to perform.
public ready ( boolean $advance = false ) : array
$advance boolean If true, mark ready tasks as completed.
리턴 array The list of tasks to perform.

프로퍼티 상세

$_ptr 보호되어 있는 프로퍼티

Current task location pointer.
protected int $_ptr
리턴 integer

$_stasks 보호되어 있는 프로퍼티

The list of system tasks to run during this login.
protected array $_stasks
리턴 array

$_tasks 보호되어 있는 프로퍼티

KEY: Task name VALUE: array => ( 'display' => boolean, 'task' => integer )
protected array $_tasks
리턴 array

$processed 공개적으로 프로퍼티

Has this tasklist been processed yet?
public bool $processed
리턴 boolean

$target 공개적으로 프로퍼티

The URL of the web page to load after login tasks are complete.
public string $target
리턴 string