PHP Class Piwik\Updates\Updates_3_0_0_b1

Inheritance: extends Piwik\Updates
Show file Open project: piwik/piwik

Public Methods

Method Description
__construct ( Factory $factory )
doUpdate ( Updater $updater )
getMigrations ( Updater $updater ) : Migration[] Here you can define one or multiple SQL statements that should be executed during the update.

Private Methods

Method Description
createPluginSettingQuery ( $pluginName, $settingName, $settingValue )
getBigIntPreventOverflowMigrations ( Migration[] $queries ) : Migration[]
getDashboardMigrations ( $allDashboards, $allGoals )
getPluginSettingsMigrations ( Migration[] $queries ) : Migration[]
getSiteSettingsMigrations ( Migration[] $queries ) : Migration[]
migratePluginEmailUpdateSetting ( )

Method Details

__construct() public method

public __construct ( Factory $factory )
$factory Piwik\Updater\Migration\Factory

doUpdate() public method

public doUpdate ( Updater $updater )
$updater Piwik\Updater

getMigrations() public method

Here you can define one or multiple SQL statements that should be executed during the update.
public getMigrations ( Updater $updater ) : Migration[]
$updater Piwik\Updater
return Piwik\Updater\Migration[]