ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Used for container export with tests. More...
Public Member Functions | |
__construct () | |
init () | |
Initialisation. More... | |
getXmlRepresentation (string $a_entity, string $a_schema_version, string $id) | |
getXmlExportHeadDependencies (string $entity, string $target_release, array $ids) | |
Get head dependencies. More... | |
getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) | |
getValidSchemaVersions (string $a_entity) | |
Returns schema versions that the component can export to. More... | |
![]() | |
__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) | |
Private Member Functions | |
getDependingTaxonomyIds (array $test_obj_ids) | |
Private Attributes | |
readonly ilLanguage | $lng |
readonly ExportImportFactory | $export_factory |
readonly TestLogger | $logger |
readonly ilTree | $tree |
readonly ilCtrl | $ctrl |
readonly ilComponentRepository | $component_repository |
readonly GeneralQuestionPropertiesRepository | $questionrepository |
Additional Inherited Members | |
![]() | |
static | lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="") |
![]() | |
ilExport | $exp |
Used for container export with tests.
Definition at line 34 of file class.ilTestExporter.php.
ilTestExporter::__construct | ( | ) |
Reimplemented from ilXmlExporter.
Definition at line 44 of file class.ilTestExporter.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\logger().
|
private |
array<int> | $testObjIds |
Definition at line 171 of file class.ilTestExporter.php.
References ilObjTaxonomy\getUsageOfObject().
Referenced by getXmlExportTailDependencies().
ilTestExporter::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. Please put the newest on top.
string | $a_entity |
Reimplemented from ilXmlExporter.
Definition at line 191 of file class.ilTestExporter.php.
ilTestExporter::getXmlExportHeadDependencies | ( | string | $a_entity, |
string | $a_target_release, | ||
array | $a_ids | ||
) |
Get head dependencies.
Reimplemented from ilXmlExporter.
Definition at line 84 of file class.ilTestExporter.php.
References $id, and ilObjMediaObject\_getMobsOfObject().
ilTestExporter::getXmlExportTailDependencies | ( | string | $a_entity, |
string | $a_target_release, | ||
array | $a_ids | ||
) |
array<int> | ids |
Reimplemented from ilXmlExporter.
Definition at line 127 of file class.ilTestExporter.php.
References $id, and getDependingTaxonomyIds().
ilTestExporter::getXmlRepresentation | ( | string | $a_entity, |
string | $a_schema_version, | ||
string | $id | ||
) |
Reimplemented from ilXmlExporter.
Definition at line 66 of file class.ilTestExporter.php.
References $id, ILIAS\Repository\ctrl(), ilXmlExporter\getAbsoluteExportDirectory(), and ILIAS\Repository\logger().
ilTestExporter::init | ( | ) |
Initialisation.
Reimplemented from ilXmlExporter.
Definition at line 62 of file class.ilTestExporter.php.
|
private |
Definition at line 41 of file class.ilTestExporter.php.
|
private |
Definition at line 40 of file class.ilTestExporter.php.
|
private |
Definition at line 37 of file class.ilTestExporter.php.
|
private |
Definition at line 36 of file class.ilTestExporter.php.
|
private |
Definition at line 38 of file class.ilTestExporter.php.
|
private |
Definition at line 42 of file class.ilTestExporter.php.
|
private |
Definition at line 39 of file class.ilTestExporter.php.