24 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
25 $this->ds->setDSPrefix(
"ds");
39 if ($a_entity ==
"svy") {
44 $zip = $svy_exp->buildExportFile();
51 $missing = $svy_exp->export_dir .
"/" . $svy_exp->subdir .
52 "/Modules/Survey/set_1";
58 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Created zip file ' . $zip);
61 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
75 if ($a_entity ==
"svy") {
78 "component" =>
"Modules/Survey",
79 "entity" =>
"svy_quest_skill",
82 "component" =>
"Modules/Survey",
83 "entity" =>
"svy_skill_threshold",
86 "component" =>
"Services/Object",
103 if ($a_entity ==
"svy") {
106 "namespace" =>
"http://www.ilias.de/Modules/Survey/htlm/4_1",
107 "xsd_file" =>
"ilias_svy_4_1.xsd",
108 "uses_dataset" =>
false,
115 "namespace" =>
"http://www.ilias.de/Modules/Survey/svy/5_1",
116 "xsd_file" =>
"ilias_svy_5_1.xsd",
117 "uses_dataset" =>
true,
static makeDirParents($a_dir)
Create a new directory and all parent directories.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
Used for container export with tests.
Export class for surveys.
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
static unzip(string $path_to_zip_file, bool $overwrite_existing=false, bool $unpack_flat=false)
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.