PHP 클래스 Horde_Core_LoginTasks_SystemTask_Upgrade, horde

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

공개 프로퍼티들

프로퍼티 타입 설명
$interval integer The interval at which to run the task.

보호된 프로퍼티들

프로퍼티 타입 설명
$_app string The current application.
$_auth boolean Do these upgrade tasks require authentication?
$_toupgrade array The list of versions to upgrade.
$_versions array The list of versions which upgrades will occur.

공개 메소드들

메소드 설명
__construct ( ) Constructor.
execute ( ) Perform upgrade tasks.
forceUpgrade ( ) Force re-run of all upgrade tasks.
skip ( )

보호된 메소드들

메소드 설명
_pref ( string $action ) : string Manage the upgrade preferences.
_upgrade ( string $version ) Perform upgrade tasks for a given version.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

_pref() 보호된 메소드

Manage the upgrade preferences.
protected _pref ( string $action ) : string
$action string Either 'get' or 'set'.
리턴 string The current version.

_upgrade() 추상적인 보호된 메소드

For those running a git checkout, the system task for a given version will run continuously until that version is released. Code should be added to not convert already converted values.
abstract protected _upgrade ( string $version )
$version string A version string.

execute() 공개 메소드

Perform upgrade tasks.
public execute ( )

forceUpgrade() 공개 메소드

Force re-run of all upgrade tasks.
public forceUpgrade ( )

skip() 공개 메소드

public skip ( )

프로퍼티 상세

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

The current application.
protected string $_app
리턴 string

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

Do these upgrade tasks require authentication?
protected bool $_auth
리턴 boolean

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

The list of versions to upgrade.
protected array $_toupgrade
리턴 array

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

The list of versions which upgrades will occur.
protected array $_versions
리턴 array

$interval 공개적으로 프로퍼티

The interval at which to run the task.
public int $interval
리턴 integer