PHP Class Piwik\Updates\Updates_3_0_0_b4

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
getUserDatabaseMigrations ( Migration[] $queries ) : Migration[] Returns database migrations for this update.
getUserPasswordMigrations ( Migration[] $queries ) : Migration[] Returns migrations to hash existing password with bcrypt.

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[]