|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilBadgeTemplatesFilesMigration:
Collaboration diagram for ilBadgeTemplatesFilesMigration: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 | |
| getImagePath (int $id, string $image) | |
| getFilePath (int $a_id) | |
| createLegacyPathSegmentForBadgeTemplateId (int $id) | |
| inform (string $text, bool $force=false) | |
| error (string $text) | |
Private Attributes | |
| const | TABLE_NAME = 'badge_image_template' |
| ilResourceStorageMigrationHelper | $helper |
| IOWrapper | $io = null |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 26 of file class.ilBadgeTemplatesFilesMigration.php.
|
private |
Definition at line 134 of file class.ilBadgeTemplatesFilesMigration.php.
Referenced by getFilePath().
Here is the caller graph for this function:
|
private |
Definition at line 175 of file class.ilBadgeTemplatesFilesMigration.php.
References $text.
Referenced by step().
Here is the caller graph for this function:| ilBadgeTemplatesFilesMigration::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 class.ilBadgeTemplatesFilesMigration.php.
|
private |
Definition at line 129 of file class.ilBadgeTemplatesFilesMigration.php.
References CLIENT_ID, createLegacyPathSegmentForBadgeTemplateId(), and ILIAS_WEB_DIR.
Referenced by getImagePath().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 121 of file class.ilBadgeTemplatesFilesMigration.php.
References $id, and getFilePath().
Referenced by step().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBadgeTemplatesFilesMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 33 of file class.ilBadgeTemplatesFilesMigration.php.
| ilBadgeTemplatesFilesMigration::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 class.ilBadgeTemplatesFilesMigration.php.
References ilResourceStorageMigrationHelper\getPreconditions().
Here is the call graph for this function:| ilBadgeTemplatesFilesMigration::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 156 of file class.ilBadgeTemplatesFilesMigration.php.
References $res.
|
private |
Definition at line 166 of file class.ilBadgeTemplatesFilesMigration.php.
References $text.
Referenced by step().
Here is the caller graph for this function:| ilBadgeTemplatesFilesMigration::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 48 of file class.ilBadgeTemplatesFilesMigration.php.
References $io, and ILIAS\Setup\Environment\getResource().
Here is the call graph for this function:| ilBadgeTemplatesFilesMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 60 of file class.ilBadgeTemplatesFilesMigration.php.
References Vendor\Package\$e, $id, $res, error(), getImagePath(), if, inform(), ILIAS\Repository\int(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:
|
private |
Definition at line 30 of file class.ilBadgeTemplatesFilesMigration.php.
|
private |
Definition at line 31 of file class.ilBadgeTemplatesFilesMigration.php.
Referenced by prepare().
|
private |
Definition at line 28 of file class.ilBadgeTemplatesFilesMigration.php.