This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
|
| init () |
|
| getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) |
|
| getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) |
|
| getValidSchemaVersions (string $a_entity) |
|
| __construct () |
|
| setExport (ilExport $a_exp) |
|
| getExport () |
|
| getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id) |
|
| init () |
|
| setExportDirectories (string $a_dir_relative, string $a_dir_absolute) |
|
| getRelativeExportDirectory () |
|
| getAbsoluteExportDirectory () |
|
| getXmlExportHeadDependencies (string $a_entity, string $a_target_release, array $a_ids) |
| Get head dependencies. More...
|
|
| getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids) |
| Get tail dependencies. More...
|
|
| getValidSchemaVersions (string $a_entity) |
| Returns schema versions that the component can export to. More...
|
|
| determineSchemaVersion (string $a_entity, string $a_target_release) |
|
|
static | lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="") |
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Exporter class for wikis
- Author
- Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
Definition at line 24 of file class.ilWikiExporter.php.
◆ getActiveAdvMDRecords()
ilWikiExporter::getActiveAdvMDRecords |
( |
int |
$a_id | ) |
|
|
protected |
◆ getValidSchemaVersions()
ilWikiExporter::getValidSchemaVersions |
( |
string |
$a_entity | ) |
|
Definition at line 150 of file class.ilWikiExporter.php.
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,
◆ getXmlExportTailDependencies()
ilWikiExporter::getXmlExportTailDependencies |
( |
string |
$a_entity, |
|
|
string |
$a_target_release, |
|
|
array |
$a_ids |
|
) |
| |
Definition at line 45 of file class.ilWikiExporter.php.
References $id, and getActiveAdvMDRecords().
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",
getActiveAdvMDRecords(int $a_id)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
◆ getXmlRepresentation()
ilWikiExporter::getXmlRepresentation |
( |
string |
$a_entity, |
|
|
string |
$a_schema_version, |
|
|
string |
$a_id |
|
) |
| |
Definition at line 142 of file class.ilWikiExporter.php.
147 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id],
"",
true,
true);
◆ init()
Definition at line 31 of file class.ilWikiExporter.php.
References $DIC, and ilLoggerFactory\getLogger().
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;
static getLogger(string $a_component_id)
Get component logger.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ $content_style_domain
ILIAS Style Content DomainService ilWikiExporter::$content_style_domain |
|
protected |
◆ $ds
◆ $page_repo
ILIAS Wiki InternalRepoService ilWikiExporter::$page_repo |
|
protected |
◆ $wiki_log
The documentation for this class was generated from the following file: