ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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... | |
getFileNameCallback (string $pattern) | |
getRevisionNameCallback () | |
Protected Member Functions | |
buildBasePath (int $object_id) | |
Protected Attributes | |
ilResourceStorageMigrationHelper | $helper |
Private Member Functions | |
recursiveRmDir (string $path) | |
Additional Inherited Members | |
![]() | |
const | INFINITE = -1 |
Definition at line 25 of file class.ilMobMigration.php.
|
protected |
Definition at line 113 of file class.ilMobMigration.php.
References CLIENT_WEB_DIR.
Referenced by step().
ilMobMigration::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 34 of file class.ilMobMigration.php.
ilMobMigration::getFileNameCallback | ( | string | $pattern | ) |
Definition at line 118 of file class.ilMobMigration.php.
ilMobMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 29 of file class.ilMobMigration.php.
ilMobMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 39 of file class.ilMobMigration.php.
References ilResourceStorageMigrationHelper\getPreconditions().
ilMobMigration::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 104 of file class.ilMobMigration.php.
References Vendor\Package\$d, and $r.
ilMobMigration::getRevisionNameCallback | ( | ) |
Definition at line 128 of file class.ilMobMigration.php.
ilMobMigration::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 44 of file class.ilMobMigration.php.
|
private |
Definition at line 95 of file class.ilMobMigration.php.
Referenced by step().
ilMobMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 52 of file class.ilMobMigration.php.
References Vendor\Package\$d, $r, buildBasePath(), ILIAS\Repository\int(), null, and recursiveRmDir().
|
protected |
Definition at line 27 of file class.ilMobMigration.php.