|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilTestQuestionPoolFileUploadQuestionMigration:
Collaboration diagram for ilTestQuestionPoolFileUploadQuestionMigration: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... | |
Protected Member Functions | |
| buildAbsolutPath (int $test_id, int $active_id, int $question_id, string $filename) | |
Private Attributes | |
| ilResourceStorageMigrationHelper | $helper = null |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 22 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
|
protected |
Definition at line 129 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
References $filename, and CLIENT_WEB_DIR.
Referenced by step().
Here is the caller graph for this function:| ilTestQuestionPoolFileUploadQuestionMigration::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 31 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
| ilTestQuestionPoolFileUploadQuestionMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 26 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
| ilTestQuestionPoolFileUploadQuestionMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 36 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
References ilResourceStorageMigrationHelper\getPreconditions().
Here is the call graph for this function:| ilTestQuestionPoolFileUploadQuestionMigration::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 115 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
References $res.
| ilTestQuestionPoolFileUploadQuestionMigration::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 41 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
| ilTestQuestionPoolFileUploadQuestionMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 49 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.
References $filename, $path, $res, buildAbsolutPath(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
private |
Definition at line 24 of file class.ilTestQuestionPoolFileUploadQuestionMigration.php.