ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilCategoryReferenceXmlWriter.php
Go to the documentation of this file.
1 <?php
2 
3 declare(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 }
xmlSetGenCmt(string $genCmt)
Sets generated comment.
global $DIC
Definition: feed.php:28
xmlSetDtdDef(string $dtdDef)
Sets dtd definition.
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...
xmlHeader()
Writes xml header.
global $ilSetting
Definition: privfeed.php:17
__construct(Container $dic, ilPlugin $plugin)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...