|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilPollImagesMigration:
Collaboration diagram for ilPollImagesMigration: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... | |
| getImageFullPath (string $img, int $id) | |
| 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 | |
| getThumbnailImagePath (string $img, int $id) | |
| getOrgImagePath (string $img, int $id) | |
| getLegacyPath (int $a_id) | |
| logError (string $text) | |
Protected Attributes | |
| ilDBInterface | $db |
| IOWrapper | $io = null |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 26 of file class.ilPollImagesMigration.php.
| ilPollImagesMigration::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 36 of file class.ilPollImagesMigration.php.
| ilPollImagesMigration::getImageFullPath | ( | string | $img, |
| int | $id | ||
| ) |
Definition at line 119 of file class.ilPollImagesMigration.php.
References $id.
| ilPollImagesMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 31 of file class.ilPollImagesMigration.php.
|
protected |
Definition at line 134 of file class.ilPollImagesMigration.php.
References $path, CLIENT_WEB_DIR, and ilFileSystemAbstractionStorage\createPathFromId().
Here is the call graph for this function:
|
protected |
Definition at line 129 of file class.ilPollImagesMigration.php.
References $id.
| ilPollImagesMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 41 of file class.ilPollImagesMigration.php.
| ilPollImagesMigration::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 110 of file class.ilPollImagesMigration.php.
References $res.
|
protected |
Definition at line 124 of file class.ilPollImagesMigration.php.
References $id.
|
protected |
Definition at line 140 of file class.ilPollImagesMigration.php.
References $text.
| ilPollImagesMigration::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 51 of file class.ilPollImagesMigration.php.
| ilPollImagesMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 61 of file class.ilPollImagesMigration.php.
References $id, and ilDBConstants\T_INTEGER.
|
protected |
Definition at line 28 of file class.ilPollImagesMigration.php.
|
protected |
Definition at line 29 of file class.ilPollImagesMigration.php.