30 public function init(): void
35 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
36 $this->ds->setDSPrefix(
"ds");
38 $this->content_style_domain = $DIC->contentStyle()
44 string $a_target_release,
48 foreach ($a_ids as
$id) {
50 foreach ($pages as $p) {
52 $pg_ids[] =
"wpg:" . $p[
"id"];
59 "component" =>
"Services/COPage",
63 "component" =>
"Services/Rating",
64 "entity" =>
"rating_category",
70 foreach ($a_ids as $id) {
72 $this->wiki_log->debug(
"advmd rec ids: wiki id:" . $id .
", adv rec ids" . print_r($rec_ids,
true));
73 if (count($rec_ids)) {
74 foreach ($rec_ids as $rec_id) {
75 $advmd_ids[] = $id .
":" . $rec_id;
80 $this->wiki_log->debug(
"advmd ids: " . print_r($advmd_ids,
true));
82 if (count($advmd_ids)) {
84 "component" =>
"Services/AdvancedMetaData",
102 foreach ($a_ids as $id) {
103 $style_id = $this->content_style_domain->styleForObjId($id)->getStyleId();
106 "component" =>
"Services/Style",
115 "component" =>
"Services/Object",
116 "entity" =>
"common",
130 if ($record_obj->getParentObject() === $a_id || in_array($record_obj->getRecordId(), $sel_globals)) {
131 $active[] = $record_obj->getRecordId();
135 $this->wiki_log->debug(
"active md rec: " . print_r($active,
true));
142 string $a_schema_version,
145 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
152 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/5_4",
153 "xsd_file" =>
"ilias_wiki_5_4.xsd",
154 "uses_dataset" =>
true,
158 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/4_1",
159 "xsd_file" =>
"ilias_wiki_4_1.xsd",
160 "uses_dataset" =>
true,
164 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/4_3",
165 "xsd_file" =>
"ilias_wiki_4_3.xsd",
166 "uses_dataset" =>
true,
170 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/4_4",
171 "xsd_file" =>
"ilias_wiki_4_4.xsd",
172 "uses_dataset" =>
true,
176 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/5_1",
177 "xsd_file" =>
"ilias_wiki_5_1.xsd",
178 "uses_dataset" =>
true,
getValidSchemaVersions(string $a_entity)
getXmlExportTailDependencies(string $a_entity, string $a_target_release, array $a_ids)
static getLogger(string $a_component_id)
Get component logger.
static _getActivatedRecordsByObjectType(string $a_obj_type, string $a_sub_type="", bool $a_only_optional=false)
Get activated records by object type.
static getAllWikiPages(int $a_wiki_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getActiveAdvMDRecords(int $a_id)
static getObjRecSelection(int $a_obj_id, string $a_sub_type="")
Get repository object record selection.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _exists(string $a_parent_type, int $a_id, string $a_lang="", bool $a_no_cache=false)
Checks whether page exists.
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS Style Content DomainService $content_style_domain
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins