ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
4 include_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 $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 }
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
global $DIC
Definition: saml.php:7
Class for container reference export.
xmlHeader()
Writes xml header public.
buildHeader()
Build xml header ilSetting $ilSetting.
__construct(ilObjGroupReference $ref=null)
ilGroupReferenceXmlWriter constructor.
global $ilSetting
Definition: privfeed.php:17
Class for container reference export.