|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilStorageHandlerV1Migration. More...
Inheritance diagram for ilStorageHandlerV1Migration:
Collaboration diagram for ilStorageHandlerV1Migration: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... | |
| getRemainingAmountOfSteps () | |
| Count up how many "things" need to be migrated. More... | |
Public Member Functions inherited from ILIAS\Setup\Migration | |
| 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 Attributes | |
| $iterator | |
| $database | |
| $migrator | |
| $resource_builder | |
| $data_dir | |
| $from = 'fsv1' | |
| $to = 'fsv2' | |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Class ilStorageHandlerV1Migration.
Definition at line 27 of file class.ilStorageHandlerV1Migration.php.
| ilStorageHandlerV1Migration::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 58 of file class.ilStorageHandlerV1Migration.php.
| ilStorageHandlerV1Migration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 53 of file class.ilStorageHandlerV1Migration.php.
| ilStorageHandlerV1Migration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 63 of file class.ilStorageHandlerV1Migration.php.
| ilStorageHandlerV1Migration::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 139 of file class.ilStorageHandlerV1Migration.php.
References $d.
| ilStorageHandlerV1Migration::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 72 of file class.ilStorageHandlerV1Migration.php.
References $client_id, $data_dir, $database, $DIC, Vendor\Package\$f, $GLOBALS, and ILIAS\Setup\Environment\getResource().
Here is the call graph for this function:
|
protected |
Definition at line 48 of file class.ilStorageHandlerV1Migration.php.
Referenced by prepare().
|
protected |
Definition at line 36 of file class.ilStorageHandlerV1Migration.php.
Referenced by prepare().
|
protected |
Definition at line 50 of file class.ilStorageHandlerV1Migration.php.
|
protected |
Definition at line 32 of file class.ilStorageHandlerV1Migration.php.
|
protected |
Definition at line 40 of file class.ilStorageHandlerV1Migration.php.
|
protected |
Definition at line 44 of file class.ilStorageHandlerV1Migration.php.
|
protected |
Definition at line 51 of file class.ilStorageHandlerV1Migration.php.