ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
getLabel () | |
getDefaultAmountOfStepsPerRun () | |
Tell the default amount of steps to be executed for one run of the migration. More... | |
getPreconditions (Environment $environment) | |
Objectives the migration depend on. More... | |
prepare (Environment $environment) | |
Prepare the migration by means of some environment. More... | |
step (Environment $environment) | |
Run one step of the migration. More... | |
getRemainingAmountOfSteps () | |
Count up how many "things" need to be migrated. More... | |
Private Attributes | |
const | TESTS_PER_STEP = 100 |
ilDBInterface | $db |
Additional Inherited Members | |
![]() | |
const | INFINITE = -1 |
Definition at line 27 of file MigrateTranslations.php.
ILIAS\ILIASObject\Setup\MigrateTranslations::getDefaultAmountOfStepsPerRun | ( | ) |
Tell the default amount of steps to be executed for one run of the migration.
Return Migration::INFINITE if all units should be migrated at once.
Implements ILIAS\Setup\Migration.
Definition at line 38 of file MigrateTranslations.php.
ILIAS\ILIASObject\Setup\MigrateTranslations::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 33 of file MigrateTranslations.php.
ILIAS\ILIASObject\Setup\MigrateTranslations::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 43 of file MigrateTranslations.php.
ILIAS\ILIASObject\Setup\MigrateTranslations::getRemainingAmountOfSteps | ( | ) |
Count up how many "things" need to be migrated.
This helps the admin to decide how big he can create the steps and also how long a migration takes
Implements ILIAS\Setup\Migration.
Definition at line 106 of file MigrateTranslations.php.
Referenced by ILIAS\ILIASObject\Setup\MigrateTranslations\step().
ILIAS\ILIASObject\Setup\MigrateTranslations::prepare | ( | Environment | $environment | ) |
Prepare the migration by means of some environment.
This is not supposed to modify the environment, but will be run to prime the migration object to run step
and getRemainingAmountOfSteps
afterwards.
Implements ILIAS\Setup\Migration.
Definition at line 50 of file MigrateTranslations.php.
References ILIAS\Setup\Environment\getResource(), and ILIAS\Setup\Environment\RESOURCE_DATABASE.
ILIAS\ILIASObject\Setup\MigrateTranslations::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 55 of file MigrateTranslations.php.
References ILIAS\ILIASObject\Setup\MigrateTranslations\getRemainingAmountOfSteps(), null, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
private |
Definition at line 31 of file MigrateTranslations.php.
|
private |
Definition at line 29 of file MigrateTranslations.php.