|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration:
Collaboration diagram for ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration: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... | |
Protected Attributes | |
| ilDBInterface | $db |
Private Member Functions | |
| remainingObjectData () | |
| stepObjectData () | |
| remainingRbac () | |
| stepRbac () | |
| rbacTemplateRowExists (int $rol_id, int $ops_id, int $parent, string $type) | |
| remainingContainerSorting () | |
| stepContainerSorting () | |
| remainingSettings () | |
| stepSettings () | |
| settingsKeywordExists (string $keyword, string $module) | |
| remainingDesktopItem () | |
| stepDesktopItem () | |
| remainingLegacy () | |
| stepLegacy () | |
| legacyTableReady (string $table, array $columns) | |
| fetchLegacyOne (string $table, array $spec) | |
| legacyTypeIsInPrimaryKey (array $spec) | |
| legacyDestinationExists (string $table, array $spec, array $row) | |
| legacySourceWhere (array $spec, array $row) | |
| legacyQuoteColumn (string $column, mixed $value) | |
| rbacCreateOperationOld () | |
| rbacCreateOperationNew () | |
Private Attributes | |
| const string | OLD_TYPE = 'itgr' |
| const string | NEW_TYPE = 'obgr' |
| const array | SETTINGS_KEY_MAP |
| const array | LEGACY_TARGETS |
| const array | LEGACY_TEXT_COLUMNS |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 29 of file class.ilObjectGroupRebrandMigration.php.
|
private |
| array{pk | list<string>, columns: list<string>} $spec |
Definition at line 616 of file class.ilObjectGroupRebrandMigration.php.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepLegacy().
Here is the caller graph for this function:| ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration::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 213 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\Setup\Migration\INFINITE.
| ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 208 of file class.ilObjectGroupRebrandMigration.php.
| ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 218 of file class.ilObjectGroupRebrandMigration.php.
| ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration::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 243 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingContainerSorting(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingDesktopItem(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingLegacy(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingObjectData(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingRbac(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingSettings().
Here is the call graph for this function:
|
private |
| array{pk | list<string>, columns: list<string>} $spec |
| array<string,mixed> | $row |
Definition at line 655 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\NEW_TYPE.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepLegacy().
Here is the caller graph for this function:
|
private |
Definition at line 686 of file class.ilObjectGroupRebrandMigration.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
private |
| array{pk | list<string>, columns: list<string>} $spec |
| array<string,mixed> | $row |
Definition at line 675 of file class.ilObjectGroupRebrandMigration.php.
|
private |
| list<string> | $columns |
Definition at line 595 of file class.ilObjectGroupRebrandMigration.php.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingLegacy(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepLegacy().
Here is the caller graph for this function:
|
private |
| array{pk | list<string>, columns: list<string>} $spec |
Definition at line 646 of file class.ilObjectGroupRebrandMigration.php.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepLegacy().
Here is the caller graph for this function:| ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration::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 225 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\Setup\Environment\getResource(), and ILIAS\Setup\Environment\RESOURCE_DATABASE.
Here is the call graph for this function:
|
private |
Definition at line 698 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\NEW_TYPE.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepRbac().
Here is the caller graph for this function:
|
private |
Definition at line 693 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\OLD_TYPE.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingRbac(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepRbac().
Here is the caller graph for this function:
|
private |
Definition at line 393 of file class.ilObjectGroupRebrandMigration.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepRbac().
Here is the caller graph for this function:
|
private |
Definition at line 409 of file class.ilObjectGroupRebrandMigration.php.
References ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\getRemainingAmountOfSteps(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the caller graph for this function:
|
private |
Definition at line 499 of file class.ilObjectGroupRebrandMigration.php.
References ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\getRemainingAmountOfSteps(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the caller graph for this function:
|
private |
Definition at line 532 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\Repository\int(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\legacyTableReady().
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\getRemainingAmountOfSteps(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 258 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\Repository\int(), and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\getRemainingAmountOfSteps(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 314 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\Repository\int(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\rbacCreateOperationOld(), and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\getRemainingAmountOfSteps(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 443 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\Repository\int(), and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\getRemainingAmountOfSteps(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 488 of file class.ilObjectGroupRebrandMigration.php.
References $module, and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepSettings().
Here is the caller graph for this function:| ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 230 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingContainerSorting(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingDesktopItem(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingLegacy(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingObjectData(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingRbac(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\remainingSettings(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepContainerSorting(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepDesktopItem(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepLegacy(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepObjectData(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepRbac(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\stepSettings().
Here is the call graph for this function:
|
private |
Definition at line 420 of file class.ilObjectGroupRebrandMigration.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the caller graph for this function:
|
private |
Definition at line 510 of file class.ilObjectGroupRebrandMigration.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the caller graph for this function:
|
private |
Definition at line 555 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\fetchLegacyOne(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\legacyDestinationExists(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\legacyTableReady(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\legacyTypeIsInPrimaryKey().
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 277 of file class.ilObjectGroupRebrandMigration.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the caller graph for this function:
|
private |
Definition at line 333 of file class.ilObjectGroupRebrandMigration.php.
References if, ILIAS\Repository\int(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\rbacCreateOperationNew(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\rbacCreateOperationOld(), ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\rbacTemplateRowExists(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 458 of file class.ilObjectGroupRebrandMigration.php.
References ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\settingsKeywordExists(), and ilDBConstants\T_TEXT.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 206 of file class.ilObjectGroupRebrandMigration.php.
|
private |
Definition at line 43 of file class.ilObjectGroupRebrandMigration.php.
|
private |
Definition at line 198 of file class.ilObjectGroupRebrandMigration.php.
|
private |
Definition at line 32 of file class.ilObjectGroupRebrandMigration.php.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\legacyDestinationExists(), and ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\rbacCreateOperationNew().
|
private |
Definition at line 31 of file class.ilObjectGroupRebrandMigration.php.
Referenced by ILIAS\ObjectGroup\Setup\ilObjectGroupRebrandMigration\rbacCreateOperationOld().
|
private |
Definition at line 34 of file class.ilObjectGroupRebrandMigration.php.