20 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
21 $this->ds->setDSPrefix(
"ds");
34 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
35 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
49 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/4_1",
50 "xsd_file" =>
"ilias_exc_4_1.xsd",
51 "uses_dataset" =>
true,
55 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/4_4",
56 "xsd_file" =>
"ilias_exc_4_4.xsd",
57 "uses_dataset" =>
true,
61 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_0",
62 "xsd_file" =>
"ilias_exc_5_0.xsd",
63 "uses_dataset" =>
true,
67 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_1",
68 "xsd_file" =>
"ilias_exc_5_1.xsd",
69 "uses_dataset" =>
true,
73 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_2",
74 "xsd_file" =>
"ilias_exc_5_2.xsd",
75 "uses_dataset" =>
true,
79 "namespace" =>
"http://www.ilias.de/Modules/Exercise/exc/5_3",
80 "xsd_file" =>
"ilias_exc_5_3.xsd",
81 "uses_dataset" =>
true,
91 if ($a_entity ==
"exc") {
94 "component" =>
"Services/Object",
100 foreach ($a_ids as $id) {
102 if (
sizeof($rec_ids)) {
103 foreach ($rec_ids as $rec_id) {
104 $advmd_ids[] = $id .
":" . $rec_id;
109 if (
sizeof($advmd_ids)) {
111 "component" =>
"Services/AdvancedMetaData",
118 foreach ($a_ids as $exc_id) {
119 $md_ids[] = $exc_id .
":0:exc";
124 "component" =>
"Services/MetaData",
132 "component" =>
"Services/Object",
133 "entity" =>
"service_settings",
146 foreach ($record_obj->getAssignedObjectTypes() as $obj_info) {
147 if ($obj_info[
'obj_type'] ==
'exc' && $obj_info[
'optional'] == 0) {
148 $active[] = $record_obj->getRecordId();
152 $obj_info[
'obj_type'] ==
'exc' &&
153 $obj_info[
'optional'] == 1 &&
154 $a_id == $record_obj->getParentObject()
156 $active[] = $record_obj->getRecordId();
getActiveAdvMDRecords($a_id)
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.
static _getActivatedRecordsByObjectType($a_obj_type, $a_sub_type="", $a_only_optional=false)
Get activated records by object type.
Exporter class for exercise.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.