|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration:
Collaboration diagram for ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration: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 Member Functions | |
| copyImageToThumb (int $object_id, int $question_id, string $image_file_name) | |
| updateThumbSize (int $question_id, int $question_type_id, int $image_width) | |
Private Attributes | |
| ilDBInterface | $db |
| AdminInteraction | $io |
| string | $webdir |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 27 of file RebuildMissingThumbnailMigration.php.
|
private |
Definition at line 111 of file RebuildMissingThumbnailMigration.php.
Referenced by ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration\step().
Here is the caller graph for this function:| ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration::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 RebuildMissingThumbnailMigration.php.
| ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 33 of file RebuildMissingThumbnailMigration.php.
| ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration::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 RebuildMissingThumbnailMigration.php.
| ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration::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 90 of file RebuildMissingThumbnailMigration.php.
| ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration::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 50 of file RebuildMissingThumbnailMigration.php.
References ILIAS\$ini, ILIAS\Setup\Environment\getResource(), ILIAS\Setup\Environment\RESOURCE_ADMIN_INTERACTION, ILIAS\Setup\Environment\RESOURCE_DATABASE, and ILIAS\Setup\Environment\RESOURCE_ILIAS_INI.
Here is the call graph for this function:| ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 59 of file RebuildMissingThumbnailMigration.php.
References ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration\copyImageToThumb(), and ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration\updateThumbSize().
Here is the call graph for this function:
|
private |
Definition at line 130 of file RebuildMissingThumbnailMigration.php.
Referenced by ILIAS\TestQuestionPool\Setup\RebuildMissingThumbnailMigration\step().
Here is the caller graph for this function:
|
private |
Definition at line 29 of file RebuildMissingThumbnailMigration.php.
|
private |
Definition at line 30 of file RebuildMissingThumbnailMigration.php.
|
private |
Definition at line 31 of file RebuildMissingThumbnailMigration.php.