PHP Class Piwik\Updates\Updates_2_13_1

Inheritance: extends Piwik\Updates
Afficher le fichier Open project: piwik/piwik

Méthodes publiques

Méthode 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 méthode

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

doUpdate() public méthode

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 méthode

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