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();
49 $GLOBALS[
'ilLog']->write(__METHOD__ .
': Created zip file ' . $zip);
52 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
66 if ($a_entity ==
"svy") {
69 "component" =>
"Modules/Survey",
70 "entity" =>
"svy_quest_skill",
73 "component" =>
"Modules/Survey",
74 "entity" =>
"svy_skill_threshold",
77 "component" =>
"Services/Object",
94 if ($a_entity ==
"svy") {
97 "namespace" =>
"http://www.ilias.de/Modules/Survey/htlm/4_1",
98 "xsd_file" =>
"ilias_svy_4_1.xsd",
99 "uses_dataset" =>
false,
106 "namespace" =>
"http://www.ilias.de/Modules/Survey/svy/5_1",
107 "xsd_file" =>
"ilias_svy_5_1.xsd",
108 "uses_dataset" =>
true,
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.
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.