|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ilTestQuestionPoolExporter:
Collaboration diagram for ilTestQuestionPoolExporter:Public Member Functions | |
| init () | |
| getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) | |
| Returns the final XML content for the question pool. More... | |
| getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) | |
| Collects export tail dependencies for the question pool. More... | |
| getValidSchemaVersions (string $a_entity) | |
| Returns schema versions that the component can export to. More... | |
Public Member Functions inherited from ilXmlExporter | |
| __construct () | |
| setExport (ilExport $a_exp) | |
| getExport () | |
| getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) | |
| init () | |
| setExportDirectories (string $a_dir_relative, string $a_dir_absolute) | |
| getRelativeExportDirectory () | |
| getAbsoluteExportDirectory () | |
| getXmlExportHeadDependencies (string $a_entity, string $a_target_release, array $a_ids) | |
| Get head dependencies. More... | |
| getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) | |
| Get tail dependencies. More... | |
| getValidSchemaVersions (string $a_entity) | |
| Returns schema versions that the component can export to. More... | |
| determineSchemaVersion (string $a_entity, string $a_target_release) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlExporter | |
| static | lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="") |
Protected Attributes inherited from ilXmlExporter | |
| ilExport | $exp |
Definition at line 24 of file class.ilTestQuestionPoolExporter.php.
| ilTestQuestionPoolExporter::getValidSchemaVersions | ( | string | $a_entity | ) |
Returns schema versions that the component can export to.
ILIAS chooses the first one, that has min/max constraints which fit to the target release.
Reimplemented from ilXmlExporter.
Definition at line 87 of file class.ilTestQuestionPoolExporter.php.
| ilTestQuestionPoolExporter::getXmlExportTailDependencies | ( | string | $a_entity, |
| string | $a_target_release, | ||
| array | $a_ids | ||
| ) |
Collects export tail dependencies for the question pool.
The export framework calls this method before getXmlRepresentation(). Therefore this method only prepares and processes the export in memory using the export context. The export context is created if it does not exist yet.
Reimplemented from ilXmlExporter.
Definition at line 61 of file class.ilTestQuestionPoolExporter.php.
References ILIAS\TestQuestionPool\ExportImport\Foundation\Export\initExportContext(), and ILIAS\TestQuestionPool\ExportImport\Foundation\Export\processExport().
Here is the call graph for this function:| ilTestQuestionPoolExporter::getXmlRepresentation | ( | string | $a_entity, |
| string | $a_schema_version, | ||
| string | $a_id | ||
| ) |
Returns the final XML content for the question pool.
This method is called after getXmlExportTailDependencies(). At this point the export writer and export directory are available, so the preprocessed export can be written to disk and returned as xml.
Reimplemented from ilXmlExporter.
Definition at line 45 of file class.ilTestQuestionPoolExporter.php.
References ILIAS\TestQuestionPool\ExportImport\Foundation\Export\finalizeExport().
Here is the call graph for this function:| ilTestQuestionPoolExporter::init | ( | ) |
Reimplemented from ilXmlExporter.
Definition at line 28 of file class.ilTestQuestionPoolExporter.php.
References ILIAS\Repository\logger().
Here is the call graph for this function: