ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilLearningModuleExporter.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 include_once("./Services/Export/classes/class.ilXmlExporter.php");
5 
14 {
15  private $ds;
16 
20  function init()
21  {
22  }
23 
24 
33  public function getXmlRepresentation($a_entity, $a_target_release, $a_id)
34  {
35  include_once './Modules/LearningModule/classes/class.ilObjLearningModule.php';
36  $lm = new ilObjLearningModule($a_id,false);
37 
38  include_once './Modules/LearningModule/classes/class.ilContObjectExport.php';
39  $exp = new ilContObjectExport($lm);
40  $zip = $exp->buildExportFile();
41 
42  }
43 
51  function getValidSchemaVersions($a_entity)
52  {
53  return array (
54  "4.1.0" => array(
55  "namespace" => "http://www.ilias.de/Modules/LearningModule/htlm/4_1",
56  "xsd_file" => "ilias_lm_4_1.xsd",
57  "uses_dataset" => false,
58  "min" => "4.1.0",
59  "max" => "")
60  );
61  }
62 
63 }
64 
65 ?>