PHP Class Scalr\Upgrade\Updates\Update20160322130808

SCALRCORE-2652 Account Announcement Functionality - stage1: DDL create table announcements - stage2: DML add ACL resource RESOURCE_ANNOUNCEMENTS - stage3: DML update saved user settings: rename 'ui.changelog.time' to 'ui.announcement.time'
Inheritance: extends Scalr\Upgrade\AbstractUpdate, implements Scalr\Upgrade\SequenceInterface
Mostra file Open project: scalr/scalr

Protected Properties

Property Type Description
$dbservice
$depends
$description
$oldSettingName
$tableAnnouncements
$uuid

Public Methods

Method Description
getNumberStages ( )

Protected Methods

Method Description
isApplied1 ( $stage )
isApplied2 ( $stage )
isApplied3 ( $stage )
run1 ( $stage )
run2 ( $stage )
run3 ( $stage )
validateBefore1 ( $stage )
validateBefore2 ( $stage )
validateBefore3 ( $stage )

Method Details

getNumberStages() public method

public getNumberStages ( )

isApplied1() protected method

protected isApplied1 ( $stage )

isApplied2() protected method

protected isApplied2 ( $stage )

isApplied3() protected method

protected isApplied3 ( $stage )

run1() protected method

protected run1 ( $stage )

run2() protected method

protected run2 ( $stage )

run3() protected method

protected run3 ( $stage )

validateBefore1() protected method

protected validateBefore1 ( $stage )

validateBefore2() protected method

protected validateBefore2 ( $stage )

validateBefore3() protected method

protected validateBefore3 ( $stage )

Property Details

$dbservice protected_oe property

protected $dbservice

$depends protected_oe property

protected $depends

$description protected_oe property

protected $description

$oldSettingName protected_oe property

protected $oldSettingName

$tableAnnouncements protected_oe property

protected $tableAnnouncements

$uuid protected_oe property

protected $uuid