PHP Class Piwik\Plugins\Goals\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 ) Here you can define any action that should be performed during the update. For instance executing SQL statements, renaming config entries, updating files, etc.
getMigrations ( Updater $updater ) : Migration[] Here you can define one or multiple SQL statements that should be executed during the update.

Method Details

__construct() public method

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

doUpdate() public method

Here you can define any action that should be performed during the update. For instance executing SQL statements, renaming config entries, updating files, etc.
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[]