ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilCourseReferenceXmlWriter.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once './Services/ContainerReference/classes/class.ilContainerReferenceXmlWriter.php';
5 
13 {
14 
22  public function __construct(ilObjCourseReference $ref = null)
23  {
25  }
26 
32  protected function buildHeader()
33  {
34  global $ilSetting;
35 
36  $this->xmlSetDtdDef("<!DOCTYPE course reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"".ILIAS_HTTP_PATH."/xml/ilias_course_reference_4_3.dtd\">");
37  $this->xmlSetGenCmt("Export of ILIAS course reference ". $this->getReference()->getId()." of installation ".$ilSetting->get('inst_id').".");
38  $this->xmlHeader();
39 
40  return true;
41  }
42 }
43 ?>