ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 {
24 }
25
31 protected function buildHeader()
32 {
33 global $DIC;
34
35 $ilSetting = $DIC['ilSetting'];
36
37 $this->xmlSetDtdDef("<!DOCTYPE course reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"" . ILIAS_HTTP_PATH . "/xml/ilias_course_reference_4_3.dtd\">");
38 $this->xmlSetGenCmt("Export of ILIAS course reference " . $this->getReference()->getId() . " of installation " . $ilSetting->get('inst_id') . ".");
39 $this->xmlHeader();
40
41 return true;
42 }
43}
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.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $ilSetting
Definition: privfeed.php:17
$DIC
Definition: xapitoken.php:46