ILIAS  release_8 Revision v8.24
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
5include_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}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class for container reference export.
__construct(ilObjGroupReference $ref=null)
ilGroupReferenceXmlWriter constructor.
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