|
ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
|
Inheritance diagram for ILIAS\Test\Setup\MoveTestSettingsMigration:
Collaboration diagram for ILIAS\Test\Setup\MoveTestSettingsMigration: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... | |
| 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 | |
| ilDBInterface | $db |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 27 of file MoveTestSettingsMigration.php.
| ILIAS\Test\Setup\MoveTestSettingsMigration::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 MoveTestSettingsMigration.php.
| ILIAS\Test\Setup\MoveTestSettingsMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 33 of file MoveTestSettingsMigration.php.
| ILIAS\Test\Setup\MoveTestSettingsMigration::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 MoveTestSettingsMigration.php.
| ILIAS\Test\Setup\MoveTestSettingsMigration::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 88 of file MoveTestSettingsMigration.php.
| ILIAS\Test\Setup\MoveTestSettingsMigration::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 48 of file MoveTestSettingsMigration.php.
References ILIAS\Setup\Environment\getResource(), and ILIAS\Setup\Environment\RESOURCE_DATABASE.
Here is the call graph for this function:| ILIAS\Test\Setup\MoveTestSettingsMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 53 of file MoveTestSettingsMigration.php.
References ILIAS\Test\Setup\columnIsNullable(), ILIAS\Test\Setup\convertLegacyDate(), ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:
|
private |
Definition at line 31 of file MoveTestSettingsMigration.php.