ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilGroupReferenceXmlWriter.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once './Services/ContainerReference/classes/class.ilContainerReferenceXmlWriter.php';
5
15{
16
21 public function __construct(ilObjGroupReference $ref = null)
22 {
23 parent::__construct($ref);
24 }
25
31 protected function buildHeader()
32 {
33 global $ilSetting;
34
35 $this->xmlSetDtdDef("<!DOCTYPE course reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"" . ILIAS_HTTP_PATH . "/xml/ilias_course_reference_4_3.dtd\">");
36 $this->xmlSetGenCmt("Export of ILIAS course reference " . $this->getReference()->getId() . " of installation " . $ilSetting->get('inst_id') . ".");
37 $this->xmlHeader();
38
39 return true;
40 }
41}
An exception for terminatinating execution or to throw for unit testing.
Class for container reference export.
Class for container reference export.
buildHeader()
Build xml header @global ilSetting $ilSetting.
__construct(ilObjGroupReference $ref=null)
ilGroupReferenceXmlWriter constructor.
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlHeader()
Writes xml header @access public.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
global $ilSetting
Definition: privfeed.php:17