3 declare(strict_types=1);
50 string $a_export_type =
'xml',
53 $ent = ($a_entity ==
"")
57 if ($a_export_type ==
'xml') {
58 return ilFileUtils::getDataDir() .
"/" . $a_obj_type . $ent .
"_data" .
"/" . $a_obj_type .
"_" . $a_obj_id .
"/export";
60 return ilFileUtils::getDataDir() .
"/" . $a_obj_type . $ent .
"_data" .
"/" . $a_obj_type .
"_" . $a_obj_id .
"/export_" . $a_export_type;
65 string $a_schema_version,
69 abstract public function init(): void;
73 $this->dir_relative = $a_dir_relative;
74 $this->dir_absolute = $a_dir_absolute;
93 string $a_target_release,
105 string $a_target_release,
127 string $a_target_release
132 foreach ($svs as $k => $sv) {
137 $rsv[
"schema_version"] = $k;
getRelativeExportDirectory()
const ILIAS_VERSION_NUMERIC
determineSchemaVersion(string $a_entity, string $a_target_release)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getXmlExportHeadDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get head dependencies.
setExport(ilExport $a_exp)
static lookupExportDirectory(string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="")
setExportDirectories(string $a_dir_relative, string $a_dir_absolute)
getAbsoluteExportDirectory()
static getDataDir()
get data directory (outside webspace)
getValidSchemaVersions(string $a_entity)
Returns schema versions that the component can export to.
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
Get tail dependencies.
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)