ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilCategoryReferenceXmlWriter.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(ilObjCategoryReference $ref = null)
23  {
25  }
26 
32  protected function buildHeader()
33  {
34  global $ilSetting;
35 
36  $this->xmlSetDtdDef("<!DOCTYPE category reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"".ILIAS_HTTP_PATH."/xml/ilias_category_reference_4_3.dtd\">");
37  $this->xmlSetGenCmt("Export of ILIAS category reference ". $this->getReference()->getId()." of installation ".$ilSetting->get('inst_id').".");
38  $this->xmlHeader();
39 
40  return true;
41  }
42 }
43 ?>