|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
Inheritance diagram for ilCourseCleanupActivationMigration:
Collaboration diagram for ilCourseCleanupActivationMigration: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 24 of file ilCourseCleanupActivationMigration.php.
| ilCourseCleanupActivationMigration::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 33 of file ilCourseCleanupActivationMigration.php.
| ilCourseCleanupActivationMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 28 of file ilCourseCleanupActivationMigration.php.
| ilCourseCleanupActivationMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 38 of file ilCourseCleanupActivationMigration.php.
| ilCourseCleanupActivationMigration::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 85 of file ilCourseCleanupActivationMigration.php.
| ilCourseCleanupActivationMigration::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 43 of file ilCourseCleanupActivationMigration.php.
References ILIAS\Setup\Environment\getResource().
Here is the call graph for this function:| ilCourseCleanupActivationMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 48 of file ilCourseCleanupActivationMigration.php.
References ilDBConstants\T_INTEGER.
|
private |
Definition at line 26 of file ilCourseCleanupActivationMigration.php.