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) {
51 foreach ($pages as $p) {
53 $pg_ids[] =
"wpg:" . $p[
"id"];
60 "component" =>
"Services/COPage",
64 "component" =>
"Services/Rating",
65 "entity" =>
"rating_category",
71 foreach ($a_ids as $id) {
73 $this->wiki_log->debug(
"advmd rec ids: wiki id:" . $id .
", adv rec ids" . print_r($rec_ids,
true));
74 if (
sizeof($rec_ids)) {
75 foreach ($rec_ids as $rec_id) {
76 $advmd_ids[] = $id .
":" . $rec_id;
81 $this->wiki_log->debug(
"advmd ids: " . print_r($advmd_ids,
true));
83 if (
sizeof($advmd_ids)) {
85 "component" =>
"Services/AdvancedMetaData",
92 $obj_ids = (is_array($a_ids))
96 "component" =>
"Services/Style",
97 "entity" =>
"object_style",
103 "component" =>
"Services/Object",
104 "entity" =>
"service_settings",
112 include_once(
'Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php');
119 if ($record_obj->getParentObject() == $a_id || in_array($record_obj->getRecordId(), $sel_globals)) {
120 $active[] = $record_obj->getRecordId();
124 $this->wiki_log->debug(
"active md rec: " . print_r($active,
true));
139 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
153 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_1",
154 "xsd_file" =>
"ilias_wiki_4_1.xsd",
155 "uses_dataset" =>
true,
159 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_3",
160 "xsd_file" =>
"ilias_wiki_4_3.xsd",
161 "uses_dataset" =>
true,
165 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/4_4",
166 "xsd_file" =>
"ilias_wiki_4_4.xsd",
167 "uses_dataset" =>
true,
171 "namespace" =>
"http://www.ilias.de/Modules/Wiki/wiki/5_1",
172 "xsd_file" =>
"ilias_wiki_5_1.xsd",
173 "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.
if(!array_key_exists('StateId', $_REQUEST)) $id
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.