28 public function init(): void
31 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
32 $this->ds->setDSPrefix(
"ds");
37 string $a_schema_version,
40 if ($a_entity ===
"svy") {
45 $zip = $svy_exp->buildExportFile();
52 $missing = $svy_exp->export_dir .
"/" . $svy_exp->subdir .
53 "/Modules/Survey/set_1";
59 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Created zip file ' . $zip);
62 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
68 string $a_target_release,
71 if ($a_entity ===
"svy") {
74 "component" =>
"Modules/Survey",
75 "entity" =>
"svy_quest_skill",
78 "component" =>
"Modules/Survey",
79 "entity" =>
"svy_skill_threshold",
82 "component" =>
"Services/Object",
93 if ($a_entity ===
"svy") {
96 "namespace" =>
"https://www.ilias.de/Modules/Survey/htlm/4_1",
97 "xsd_file" =>
"ilias_svy_4_1.xsd",
98 "uses_dataset" =>
false,
105 "namespace" =>
"https://www.ilias.de/Modules/Survey/svy/5_1",
106 "xsd_file" =>
"ilias_svy_5_1.xsd",
107 "uses_dataset" =>
true,
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
getValidSchemaVersions(string $a_entity)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static makeDirParents(string $a_dir)
Create a new directory and all parent directories.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static unzip(string $path_to_zip_file, bool $overwrite_existing=false, bool $unpack_flat=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']