ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilContainerExporter.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 
5 include_once './Services/Container/classes/class.ilContainerXmlWriter.php';
6 include_once './Services/Export/classes/class.ilXmlExporter.php';
7 
18 {
19  private $writer = null;
20 
24  public function __construct()
25  {
26 
27  }
28 
33  public function init()
34  {
35  }
36 
44  public function getXmlRepresentation($a_entity, $a_target_release, $a_id)
45  {
46  $GLOBALS['ilLog']->write(__METHOD__.': Received id = '.$a_id);
48  $writer->write();
49  return $writer->xmlDumpMem(false);
50  }
51 
59  public function getValidSchemaVersions($a_entity)
60  {
61  return array (
62  "4.1.0" => array(
63  "namespace" => "http://www.ilias.de/Modules/Folder/fold/4_1",
64  "xsd_file" => "ilias_fold_4_1.xsd",
65  "uses_dataset" => false,
66  "min" => "4.1.0",
67  "max" => "")
68  );
69  }
70 }
71 ?>