Piwik\Columns\

Updater

Class that handles dimension updates

Methods

The class defines the following methods:

getMigrations()

Signature

  • It accepts the following parameter(s):

  • It returns a Migration[] value.

doUpdate()

Perform the incremental version update.

This method should perform all updating logic. If you define migrations in an overridden getMigrations() method, you must call Updater::executeMigrations() here.

See \Piwik\Plugins\ExamplePlugin\Updates\Updates_0_0_2 for an example.

Signature

  • It accepts the following parameter(s):

  • It does not return anything or a mixed result.