ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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... | |
Private Member Functions | |
migrateCustomFieldAccess () | |
migrateStandardFieldConfig () | |
updateCountryField (array $property_attributes) | |
fetchConfigValuesFromSettings (string $field_id, array $attributes) | |
retrievePropertyAttributeValue (string $field_id, string $attribute) | |
insertConfig (string $field_id, int $visible_in_registration, int $visible_to_user, int $visible_in_lua, int $visible_in_crss, int $visible_in_grps, int $visible_in_prgs, int $changeable_by_user, int $changeable_in_lua, int $required, int $export, int $searchable, int $available_in_certs) | |
Private Attributes | |
const string | MIGRATION_COMPLETED = 'usr_profile_migration_completed' |
ilDBInterface | $db |
ilSetting | $settings |
AdminInteraction | $admin_interaction |
Additional Inherited Members | |
![]() | |
const | INFINITE = -1 |
Definition at line 28 of file UserProfileMigrations.php.
|
private |
Definition at line 272 of file UserProfileMigrations.php.
References ILIAS\Repository\settings().
Referenced by ILIAS\User\Setup\UserProfileMigrations\migrateStandardFieldConfig(), and ILIAS\User\Setup\UserProfileMigrations\updateCountryField().
ILIAS\User\Setup\UserProfileMigrations::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 40 of file UserProfileMigrations.php.
ILIAS\User\Setup\UserProfileMigrations::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 35 of file UserProfileMigrations.php.
ILIAS\User\Setup\UserProfileMigrations::getPreconditions | ( | Environment | $environment | ) |
Objectives the migration depend on.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Migration.
Definition at line 45 of file UserProfileMigrations.php.
ILIAS\User\Setup\UserProfileMigrations::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 UserProfileMigrations.php.
References ILIAS\Repository\settings().
|
private |
Definition at line 296 of file UserProfileMigrations.php.
Referenced by ILIAS\User\Setup\UserProfileMigrations\migrateCustomFieldAccess(), ILIAS\User\Setup\UserProfileMigrations\migrateStandardFieldConfig(), and ILIAS\User\Setup\UserProfileMigrations\updateCountryField().
|
private |
Definition at line 73 of file UserProfileMigrations.php.
References ILIAS\User\Setup\UserProfileMigrations\insertConfig().
Referenced by ILIAS\User\Setup\UserProfileMigrations\step().
|
private |
Definition at line 148 of file UserProfileMigrations.php.
References ILIAS\User\Setup\UserProfileMigrations\fetchConfigValuesFromSettings(), ILIAS\User\Setup\UserProfileMigrations\insertConfig(), ILIAS\Repository\settings(), and ILIAS\User\Setup\UserProfileMigrations\updateCountryField().
Referenced by ILIAS\User\Setup\UserProfileMigrations\step().
ILIAS\User\Setup\UserProfileMigrations::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 54 of file UserProfileMigrations.php.
References ILIAS\Setup\Environment\getResource(), ILIAS\Setup\Environment\RESOURCE_ADMIN_INTERACTION, ILIAS\Setup\Environment\RESOURCE_DATABASE, ILIAS\Setup\Environment\RESOURCE_SETTINGS_FACTORY, and ILIAS\Repository\settings().
|
private |
Definition at line 291 of file UserProfileMigrations.php.
References ILIAS\Repository\settings().
ILIAS\User\Setup\UserProfileMigrations::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 61 of file UserProfileMigrations.php.
References ILIAS\User\Setup\UserProfileMigrations\migrateCustomFieldAccess(), ILIAS\User\Setup\UserProfileMigrations\migrateStandardFieldConfig(), and ILIAS\Repository\settings().
|
private |
Definition at line 214 of file UserProfileMigrations.php.
References $message, ILIAS\User\Setup\UserProfileMigrations\fetchConfigValuesFromSettings(), ILIAS\User\Setup\UserProfileMigrations\insertConfig(), ILIAS\Repository\settings(), and ilDBConstants\T_TEXT.
Referenced by ILIAS\User\Setup\UserProfileMigrations\migrateStandardFieldConfig().
|
private |
Definition at line 33 of file UserProfileMigrations.php.
|
private |
Definition at line 31 of file UserProfileMigrations.php.
|
private |
Definition at line 32 of file UserProfileMigrations.php.
|
private |
Definition at line 30 of file UserProfileMigrations.php.