\Horde_Core_LoginTasks_SystemTask_Upgrade

Login system task for automated upgrade tasks.

Copyright 2011-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
__construct()
execute()
forceUpgrade()
skip()
$interval
No constants found
_upgrade()
_pref()
$_app
$_auth
$_toupgrade
$_versions
N/A
No private methods found
No private properties found
N/A

Properties

$interval

$interval : integer

The interval at which to run the task.

Type

integer

$_app

$_app : string

The current application.

Type

string

$_auth

$_auth : boolean

Do these upgrade tasks require authentication?

Type

boolean

$_toupgrade

$_toupgrade : array

The list of versions to upgrade.

Type

array

$_versions

$_versions : array

The list of versions which upgrades will occur.

Type

array

Methods

__construct()

__construct() 

Constructor.

execute()

execute() 

Perform upgrade tasks.

forceUpgrade()

forceUpgrade() 

Force re-run of all upgrade tasks.

skip()

skip() 

_upgrade()

_upgrade(string  $version) 

Perform upgrade tasks for a given version.

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.

Parameters

string $version

A version string.

_pref()

_pref(string  $action) : string

Manage the upgrade preferences.

Parameters

string $action

Either 'get' or 'set'.

Returns

string —

The current version.