4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
22 include_once(
"./Modules/Exercise/classes/class.ilExerciseDataSet.php");
24 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
25 $this->ds->setDSPrefix(
"ds");
38 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
39 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
46 if ($a_entity ==
"exc") {
49 "component" =>
"Services/Object",
69 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/4_1",
70 "xsd_file" =>
"ilias_exc_4_1.xsd",
71 "uses_dataset" =>
true,
75 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/4_4",
76 "xsd_file" =>
"ilias_exc_4_4.xsd",
77 "uses_dataset" =>
true,
81 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_0",
82 "xsd_file" =>
"ilias_exc_5_0.xsd",
83 "uses_dataset" =>
true,
87 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_1",
88 "xsd_file" =>
"ilias_exc_5_1.xsd",
89 "uses_dataset" =>
true,
93 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_2",
94 "xsd_file" =>
"ilias_exc_5_2.xsd",
95 "uses_dataset" =>
true,
99 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_3",
100 "xsd_file" =>
"ilias_exc_5_3.xsd",
101 "uses_dataset" =>
true,
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.
foreach($_POST as $key=> $value) $res
Exporter class for exercise.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.