ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
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 | |
ilDBInterface | $db |
bool | $ilias_is_initialized = false |
Additional Inherited Members | |
![]() | |
const | INFINITE = -1 |
Definition at line 24 of file class.ilFixMissingQuestionDuplicationMigration.php.
ilFixMissingQuestionDuplicationMigration::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 35 of file class.ilFixMissingQuestionDuplicationMigration.php.
ilFixMissingQuestionDuplicationMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 30 of file class.ilFixMissingQuestionDuplicationMigration.php.
ilFixMissingQuestionDuplicationMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 40 of file class.ilFixMissingQuestionDuplicationMigration.php.
ilFixMissingQuestionDuplicationMigration::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 92 of file class.ilFixMissingQuestionDuplicationMigration.php.
References $query.
ilFixMissingQuestionDuplicationMigration::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 47 of file class.ilFixMissingQuestionDuplicationMigration.php.
References ILIAS\Setup\Environment\getResource().
ilFixMissingQuestionDuplicationMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 52 of file class.ilFixMissingQuestionDuplicationMigration.php.
References assQuestion\_instanciateQuestion(), ilContext\CONTEXT_CRON, ilContext\init(), and ilInitialisation\initILIAS().
|
private |
Definition at line 26 of file class.ilFixMissingQuestionDuplicationMigration.php.
|
private |
Definition at line 28 of file class.ilFixMissingQuestionDuplicationMigration.php.