ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilSessionImporter.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
29 {
30  protected ilSessionDataSet $ds;
31 
32  public function init(): void
33  {
34  $this->ds = new ilSessionDataSet();
35  $this->ds->setDSPrefix("ds");
36  }
37 
38  public function importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping): void
39  {
40  $this->ds->setTargetId((string) $a_mapping->getTargetId());
41  $parser = new ilDataSetImportParser(
42  $a_entity,
43  $this->getSchemaVersion(),
44  $a_xml,
45  $this->ds,
46  $a_mapping
47  );
48  }
49 }
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...
Session data set class.
Importer class for sessions.
Xml importer class.