|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ilDataCollectionSelectionFieldMigration:
Collaboration diagram for ilDataCollectionSelectionFieldMigration: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... | |
Data Fields | |
| const | DEFAULT_AMOUNT_OF_STEPS = 10000 |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Protected Attributes | |
| ilDBInterface | $db |
Definition at line 23 of file class.ilDataCollectionSelectionFieldMigration.php.
| ilDataCollectionSelectionFieldMigration::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.ilDataCollectionSelectionFieldMigration.php.
References DEFAULT_AMOUNT_OF_STEPS.
| ilDataCollectionSelectionFieldMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 29 of file class.ilDataCollectionSelectionFieldMigration.php.
| ilDataCollectionSelectionFieldMigration::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.ilDataCollectionSelectionFieldMigration.php.
| ilDataCollectionSelectionFieldMigration::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 77 of file class.ilDataCollectionSelectionFieldMigration.php.
References ilDclDatatype\INPUTFORMAT_DATE_SELECTION, ilDclDatatype\INPUTFORMAT_TEXT_SELECTION, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
| ilDataCollectionSelectionFieldMigration::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 47 of file class.ilDataCollectionSelectionFieldMigration.php.
References ILIAS\Setup\Environment\getResource().
Here is the call graph for this function:| ilDataCollectionSelectionFieldMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 52 of file class.ilDataCollectionSelectionFieldMigration.php.
References ilDclDatatype\INPUTFORMAT_DATE_SELECTION, ilDclDatatype\INPUTFORMAT_TEXT_SELECTION, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
protected |
Definition at line 27 of file class.ilDataCollectionSelectionFieldMigration.php.
| const ilDataCollectionSelectionFieldMigration::DEFAULT_AMOUNT_OF_STEPS = 10000 |
Definition at line 25 of file class.ilDataCollectionSelectionFieldMigration.php.
Referenced by getDefaultAmountOfStepsPerRun().