ILIAS  release_8 Revision v8.24
class.ilCategoryReferenceXmlWriter.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
27{
28 public function __construct(ilObjCategoryReference $ref = null)
29 {
30 global $DIC;
31
32 $this->settings = $DIC->settings();
34 }
35
36 protected function buildHeader(): void
37 {
39
40 $this->xmlSetDtdDef("<!DOCTYPE category reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"" . ILIAS_HTTP_PATH . "/xml/ilias_category_reference_4_3.dtd\">");
41 $this->xmlSetGenCmt("Export of ILIAS category reference " . $this->getReference()->getId() . " of installation " . $ilSetting->get('inst_id') . ".");
42 $this->xmlHeader();
43 }
44}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilObjCategoryReference $ref=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
xmlSetGenCmt(string $genCmt)
Sets generated comment.
xmlHeader()
Writes xml header.
xmlSetDtdDef(string $dtdDef)
Sets dtd definition.
global $DIC
Definition: feed.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $ilSetting
Definition: privfeed.php:17