31 public function init(): void
35 $repo = $DIC->wiki()->internal()->repo();
37 $this->ds->initByExporter($this);
38 $this->ds->setDSPrefix(
"ds");
40 $this->content_style_domain = $DIC->contentStyle()
42 $this->page_repo = $repo;
47 string $a_target_release,
51 foreach ($a_ids as
$id) {
52 foreach ($this->page_repo->page()->getWikiPages($id) as $page) {
53 if ($this->page_repo->page()->exists($page->getId())) {
54 $pg_ids[] =
"wpg:" . $page->getId();
61 "component" =>
"components/ILIAS/COPage",
65 "component" =>
"components/ILIAS/Rating",
66 "entity" =>
"rating_category",
72 foreach ($a_ids as $id) {
74 $this->wiki_log->debug(
"advmd rec ids: wiki id:" . $id .
", adv rec ids" . print_r($rec_ids,
true));
75 if (count($rec_ids)) {
76 foreach ($rec_ids as $rec_id) {
77 $advmd_ids[] = $id .
":" . $rec_id;
82 $this->wiki_log->debug(
"advmd ids: " . print_r($advmd_ids,
true));
84 if (count($advmd_ids)) {
86 "component" =>
"components/ILIAS/AdvancedMetaData",
104 foreach ($a_ids as $id) {
105 $style_id = $this->content_style_domain->styleForObjId($id)->getExportStyleId();
108 "component" =>
"components/ILIAS/Style",
117 "component" =>
"components/ILIAS/ILIASObject",
118 "entity" =>
"common",
132 if ($record_obj->getParentObject() === $a_id || in_array($record_obj->getRecordId(), $sel_globals)) {
133 $active[] = $record_obj->getRecordId();
137 $this->wiki_log->debug(
"active md rec: " . print_r($active,
true));
144 string $a_schema_version,
147 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
154 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/5_4",
155 "xsd_file" =>
"ilias_wiki_5_4.xsd",
156 "uses_dataset" =>
true,
160 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/4_1",
161 "xsd_file" =>
"ilias_wiki_4_1.xsd",
162 "uses_dataset" =>
true,
166 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/4_3",
167 "xsd_file" =>
"ilias_wiki_4_3.xsd",
168 "uses_dataset" =>
true,
172 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/4_4",
173 "xsd_file" =>
"ilias_wiki_4_4.xsd",
174 "uses_dataset" =>
true,
178 "namespace" =>
"https://www.ilias.de/Modules/Wiki/wiki/5_1",
179 "xsd_file" =>
"ilias_wiki_5_1.xsd",
180 "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.
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...
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
ILIAS Wiki InternalRepoService $page_repo