|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ilExportFilesToIRSSMigration:
Collaboration diagram for ilExportFilesToIRSSMigration: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... | |
Protected Member Functions | |
| updateMigrated (int $obj_id, string $export_type, string $filename) | |
| updateMigratedUnsupportedObjectType (int $obj_id, string $export_type, string $filename) | |
| getExportDirectory (string $class_name, bool $is_plugin, string $location, string $component_for_type, int $a_obj_id, string $a_type="xml", string $a_obj_type="", string $a_entity="") | |
| createPathFromId (int $a_container_id, string $a_name) | |
| getExporterClass (string $a_type, bool $is_plugin, string $class_name, string $location, string $component_for_type) | |
Protected Attributes | |
| ilDBInterface | $db |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 |
Definition at line 25 of file ilExportFilesToIRSSMigration.php.
|
protected |
Definition at line 210 of file ilExportFilesToIRSSMigration.php.
References $path.
Referenced by getExportDirectory().
Here is the caller graph for this function:| ilExportFilesToIRSSMigration::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 ilExportFilesToIRSSMigration.php.
|
protected |
Definition at line 165 of file ilExportFilesToIRSSMigration.php.
References ilObject\_lookupType(), createPathFromId(), ilFileUtils\getDataDir(), and getExporterClass().
Referenced by step().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 232 of file ilExportFilesToIRSSMigration.php.
Referenced by getExportDirectory().
Here is the caller graph for this function:| ilExportFilesToIRSSMigration::getLabel | ( | ) |
Implements ILIAS\Setup\Migration.
Definition at line 29 of file ilExportFilesToIRSSMigration.php.
| ilExportFilesToIRSSMigration::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 ilExportFilesToIRSSMigration.php.
References ilResourceStorageMigrationHelper\getPreconditions().
Here is the call graph for this function:| ilExportFilesToIRSSMigration::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 128 of file ilExportFilesToIRSSMigration.php.
References $res.
| ilExportFilesToIRSSMigration::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 51 of file ilExportFilesToIRSSMigration.php.
References ILIAS\Setup\Environment\getResource().
Here is the call graph for this function:| ilExportFilesToIRSSMigration::step | ( | Environment | $environment | ) |
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 56 of file ilExportFilesToIRSSMigration.php.
References $filename, $location, getExportDirectory(), ILIAS\Repository\int(), ilDBConstants\T_DATE, ilDBConstants\T_INTEGER, ilDBConstants\T_TEXT, updateMigrated(), and updateMigratedUnsupportedObjectType().
Here is the call graph for this function:
|
protected |
Definition at line 139 of file ilExportFilesToIRSSMigration.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by step().
Here is the caller graph for this function:
|
protected |
Definition at line 152 of file ilExportFilesToIRSSMigration.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by step().
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file ilExportFilesToIRSSMigration.php.