4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
25 include_once(
"./Modules/Survey/classes/class.ilSurveyDataSet.php");
27 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
28 $this->ds->setDSPrefix(
"ds");
42 if ($a_entity ==
"svy")
44 include_once
'./Modules/Survey/classes/class.ilObjSurvey.php';
48 include_once(
"./Modules/Survey/classes/class.ilSurveyExport.php");
50 $zip = $svy_exp->buildExportFile();
55 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Created zip file ' . $zip);
60 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
74 if ($a_entity ==
"svy")
78 "component" =>
"Modules/Survey",
79 "entity" =>
"svy_quest_skill",
82 "component" =>
"Modules/Survey",
83 "entity" =>
"svy_skill_threshold",
100 if ($a_entity ==
"svy")
104 "namespace" =>
"http://www.ilias.de/Modules/Survey/htlm/4_1",
105 "xsd_file" =>
"ilias_svy_4_1.xsd",
106 "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,
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
static unzip($a_file, $overwrite=false, $a_flat=false)
unzip file
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
Used for container export with tests.
Export class for surveys.
Create styles array
The data for the language used.
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.