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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$interval integer The interval at which to run the task.

Защищенные свойства (Protected)

Свойство Тип Описание
$_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