ILIAS  release_8 Revision v8.23
class.ilGroupReferenceXmlWriter.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once './Services/ContainerReference/classes/class.ilContainerReferenceXmlWriter.php';
6 
16 {
21  public function __construct(ilObjGroupReference $ref = null)
22  {
24  }
25 
26  protected function buildHeader(): void
27  {
28  global $DIC;
29 
30  $ilSetting = $DIC['ilSetting'];
31 
32  $this->xmlSetDtdDef("<!DOCTYPE course reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"" . ILIAS_HTTP_PATH . "/xml/ilias_course_reference_4_3.dtd\">");
33  $this->xmlSetGenCmt("Export of ILIAS course reference " . $this->getReference()->getId() . " of installation " . $ilSetting->get('inst_id') . ".");
34  $this->xmlHeader();
35  }
36 }
xmlSetGenCmt(string $genCmt)
Sets generated comment.
global $DIC
Definition: feed.php:28
xmlSetDtdDef(string $dtdDef)
Sets dtd definition.
Class for container reference export.
xmlHeader()
Writes xml header.
__construct(ilObjGroupReference $ref=null)
ilGroupReferenceXmlWriter constructor.
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...