|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration:
Collaboration diagram for ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration: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... | |
Private Member Functions | |
| migrateIntroductions (\ilDBStatement $select_page_statement) | |
| migrateConcludingRemarks (\ilDBStatement $select_page_statement, int $max_steps) | |
| createPageWithNextId (int $test_obj_id, \stdClass $row) | |
Private Attributes | |
| const | TESTS_PER_STEP = 100 |
| ilDBInterface | $db |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 27 of file CloneIntroductionAndClosingRemarksMigration.php.
|
private |
Definition at line 189 of file CloneIntroductionAndClosingRemarksMigration.php.
References Vendor\Package\$e, and ilUtil\now().
Referenced by ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\migrateConcludingRemarks(), and ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\migrateIntroductions().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration::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 38 of file CloneIntroductionAndClosingRemarksMigration.php.
| ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 33 of file CloneIntroductionAndClosingRemarksMigration.php.
| ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 43 of file CloneIntroductionAndClosingRemarksMigration.php.
| ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration::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 68 of file CloneIntroductionAndClosingRemarksMigration.php.
|
private |
Definition at line 141 of file CloneIntroductionAndClosingRemarksMigration.php.
References ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\createPageWithNextId(), and ilDBConstants\T_INTEGER.
Referenced by ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 91 of file CloneIntroductionAndClosingRemarksMigration.php.
References ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\createPageWithNextId(), and ilDBConstants\T_INTEGER.
Referenced by ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration::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 50 of file CloneIntroductionAndClosingRemarksMigration.php.
References ILIAS\Setup\Environment\getResource(), and ILIAS\Setup\Environment\RESOURCE_DATABASE.
Here is the call graph for this function:| ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 55 of file CloneIntroductionAndClosingRemarksMigration.php.
References ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\migrateConcludingRemarks(), ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\migrateIntroductions(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:
|
private |
Definition at line 31 of file CloneIntroductionAndClosingRemarksMigration.php.
|
private |
Definition at line 29 of file CloneIntroductionAndClosingRemarksMigration.php.