ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilHTMLLearningModuleImporter.php
Go to the documentation of this file.
1 <?php
2 
24 {
26 
27  public function init(): void
28  {
29  $this->ds = new ilHTMLLearningModuleDataSet();
30  $this->ds->setDSPrefix("ds");
31  $this->ds->setImportDirectory($this->getImportDirectory());
32  }
33 
34  public function importXmlRepresentation(
35  string $a_entity,
36  string $a_id,
37  string $a_xml,
38  ilImportMapping $a_mapping
39  ): void {
40  $parser = new ilDataSetImportParser(
41  $a_entity,
42  $this->getSchemaVersion(),
43  $a_xml,
44  $this->ds,
45  $a_mapping
46  );
47  }
48 }
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Manifest parser for ILIAS standard export files.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...