|
ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
|
Inheritance diagram for ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration:
Collaboration diagram for ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration: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 Member Functions | |
| dropColumn (string $table, string $column) | |
Private Attributes | |
| const array | UNUSED_LEGACY_COLUMNS |
| ilDBInterface | $db |
| bool | $data_loss_detected = false |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 27 of file RemoveLegacyTestSettingsMigration.php.
|
private |
Definition at line 111 of file RemoveLegacyTestSettingsMigration.php.
Referenced by ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration\step().
Here is the caller graph for this function:| ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration::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 56 of file RemoveLegacyTestSettingsMigration.php.
| ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 51 of file RemoveLegacyTestSettingsMigration.php.
| ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 61 of file RemoveLegacyTestSettingsMigration.php.
| ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration::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 104 of file RemoveLegacyTestSettingsMigration.php.
| ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration::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 68 of file RemoveLegacyTestSettingsMigration.php.
References ILIAS\Setup\Environment\getResource(), and ILIAS\Setup\Environment\RESOURCE_DATABASE.
Here is the call graph for this function:| ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 87 of file RemoveLegacyTestSettingsMigration.php.
References ILIAS\Test\Setup\RemoveLegacyTestSettingsMigration\dropColumn().
Here is the call graph for this function:
|
private |
Definition at line 49 of file RemoveLegacyTestSettingsMigration.php.
|
private |
Definition at line 48 of file RemoveLegacyTestSettingsMigration.php.
|
private |
Definition at line 31 of file RemoveLegacyTestSettingsMigration.php.