ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Class ilStorageHandlerV1Migration. More...
Public Member Functions | |
getLabel () | |
getDefaultAmountOfStepsPerRun () | |
Tell the default amount of steps to be executed for one run of the migration. More... | |
getPreconditions (Environment $environment) | |
prepare (Environment $environment) | |
Prepare the migration by means of some environment. More... | |
getRemainingAmountOfSteps () | |
Count up how many "things" need to be migrated. More... | |
![]() | |
step (Environment $environment) | |
Run one step of the migration. More... | |
Protected Attributes | |
DirectoryIterator | $iterator |
$database | |
ILIAS ResourceStorage StorageHandler Migrator | $migrator = null |
ILIAS ResourceStorage Resource ResourceBuilder | $resource_builder = null |
string | $data_dir = null |
string | $from = 'fsv1' |
string | $to = 'fsv2' |
Additional Inherited Members | |
![]() | |
const | INFINITE = -1 |
Class ilStorageHandlerV1Migration.
Definition at line 32 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 51 of file class.ilStorageHandlerV1Migration.php.
ilStorageHandlerV1Migration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 46 of file class.ilStorageHandlerV1Migration.php.
ilStorageHandlerV1Migration::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Migration.
Definition at line 59 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 130 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.
$DIC
$DIC
Implements ILIAS\Setup\Migration.
Definition at line 68 of file class.ilStorageHandlerV1Migration.php.
References $client_id, $container, $d, $database, $DIC, Vendor\Package\$f, $GLOBALS, $i, InitResourceStorage\D_STORAGE_HANDLERS, ILIAS\Setup\Environment\getResource(), and ILIAS\Setup\Migration\step().
|
protected |
Definition at line 41 of file class.ilStorageHandlerV1Migration.php.
|
protected |
Definition at line 38 of file class.ilStorageHandlerV1Migration.php.
Referenced by prepare().
|
protected |
Definition at line 43 of file class.ilStorageHandlerV1Migration.php.
|
protected |
Definition at line 34 of file class.ilStorageHandlerV1Migration.php.
|
protected |
Definition at line 39 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.