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") {
43 include_once
'./Modules/Survey/classes/class.ilObjSurvey.php';
47 include_once(
"./Modules/Survey/classes/class.ilSurveyExport.php");
49 $zip = $svy_exp->buildExportFile();
54 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Created zip file ' . $zip);
57 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
71 if ($a_entity ==
"svy") {
74 "component" =>
"Modules/Survey",
75 "entity" =>
"svy_quest_skill",
78 "component" =>
"Modules/Survey",
79 "entity" =>
"svy_skill_threshold",
95 if ($a_entity ==
"svy") {
98 "namespace" =>
"http://www.ilias.de/Modules/Survey/htlm/4_1",
99 "xsd_file" =>
"ilias_svy_4_1.xsd",
100 "uses_dataset" =>
false,
107 "namespace" =>
"http://www.ilias.de/Modules/Survey/svy/5_1",
108 "xsd_file" =>
"ilias_svy_5_1.xsd",
109 "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.