ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilCategoryReferenceXmlWriter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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->xmlSetGenCmt("Export of ILIAS category reference " . $this->getReference()->getId() . " of installation " . $ilSetting->get('inst_id') . ".");
41 $this->xmlHeader();
42 }
43}
Class for container reference export.
__construct(?ilObjCategoryReference $ref=null)
Class for container reference export.
xmlSetGenCmt(string $genCmt)
Sets generated comment.
xmlHeader()
Writes xml header.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $ilSetting
Definition: privfeed.php:31
global $DIC
Definition: shib_login.php:26