4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
28 include_once(
"./Modules/Wiki/classes/class.ilWikiDataSet.php");
30 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
31 $this->ds->setDSPrefix(
"ds");
47 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
49 foreach ($a_ids as $id)
52 foreach ($pages as $p)
56 $pg_ids[] =
"wpg:".$p[
"id"];
63 "component" =>
"Services/COPage",
67 "component" =>
"Services/Rating",
68 "entity" =>
"rating_category",
74 foreach($a_ids as $id)
77 $this->wiki_log->debug(
"advmd rec ids: wiki id:".$id.
", adv rec ids".print_r($rec_ids,
true));
80 foreach($rec_ids as $rec_id)
82 $advmd_ids[] = $id.
":".$rec_id;
87 $this->wiki_log->debug(
"advmd ids: ".print_r($advmd_ids,
true));
89 if(
sizeof($advmd_ids))
92 "component" =>
"Services/AdvancedMetaData",
99 $obj_ids = (is_array($a_ids))
103 "component" =>
"Services/Style",
104 "entity" =>
"object_style",
110 "component" =>
"Services/Object",
111 "entity" =>
"service_settings",
119 include_once(
'Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php');
127 if ($record_obj->getParentObject() == $a_id || in_array($record_obj->getRecordId(), $sel_globals))
129 $active[] = $record_obj->getRecordId();
133 $this->wiki_log->debug(
"active md rec: ".print_r($active,
true));
148 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
162 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_1",
163 "xsd_file" =>
"ilias_wiki_4_1.xsd",
164 "uses_dataset" =>
true,
168 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_3",
169 "xsd_file" =>
"ilias_wiki_4_3.xsd",
170 "uses_dataset" =>
true,
174 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_4",
175 "xsd_file" =>
"ilias_wiki_4_4.xsd",
176 "uses_dataset" =>
true,
180 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/5_1",
181 "xsd_file" =>
"ilias_wiki_5_1.xsd",
182 "uses_dataset" =>
true,
static _exists($a_parent_type, $a_id, $a_lang="", $a_no_cache=false)
Checks whether page exists.
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
Exporter class for wikis.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
getActiveAdvMDRecords($a_id)
static getAllWikiPages($a_wiki_id)
Get all pages of wiki.
Create styles array
The data for the language used.
static _getActivatedRecordsByObjectType($a_obj_type, $a_sub_type="", $a_only_optional=false)
Get activated records by object type.
static getLogger($a_component_id)
Get component logger.
static getObjRecSelection($a_obj_id, $a_sub_type="")
Get repository object record selection.