4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
22 include_once(
"./Modules/Wiki/classes/class.ilWikiDataSet.php");
24 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
25 $this->ds->setDSPrefix(
"ds");
39 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
41 foreach ($a_ids as $id)
44 foreach ($pages as $p)
48 $pg_ids[] =
"wpg:".$p[
"id"];
55 "component" =>
"Services/COPage",
59 "component" =>
"Services/Rating",
60 "entity" =>
"rating_category",
66 foreach($a_ids as $id)
71 foreach($rec_ids as $rec_id)
73 $advmd_ids[] = $id.
":".$rec_id;
77 if(
sizeof($advmd_ids))
80 "component" =>
"Services/AdvancedMetaData",
91 include_once(
'Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php');
95 $active[] = $record_obj->getRecordId();
110 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
124 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_1",
125 "xsd_file" =>
"ilias_wiki_4_1.xsd",
126 "uses_dataset" =>
true,
130 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_3",
131 "xsd_file" =>
"ilias_wiki_4_3.xsd",
132 "uses_dataset" =>
true,
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.
static _getActivatedRecordsByObjectType($a_obj_type, $a_sub_type="")
Get activated records by object type.
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
static _exists($a_parent_type, $a_id, $a_lang="")
Checks whether page exists.
Exporter class for wikis.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
getActiveAdvMDRecords($a_id)
static getAllPages($a_wiki_id)
Get all pages of wiki.
static getObjRecSelection($a_obj_id, $a_sub_type="")
Get repository object record selection.