ILIAS  release_8 Revision v8.23
class.ilSessionImporter.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
30 {
31  protected ilSessionDataSet $ds;
32 
33  public function init(): void
34  {
35  $this->ds = new ilSessionDataSet();
36  $this->ds->setDSPrefix("ds");
37  }
38 
39  public function importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping): void
40  {
41  $this->ds->setTargetId((string) $a_mapping->getTargetId());
42  $parser = new ilDataSetImportParser(
43  $a_entity,
44  $this->getSchemaVersion(),
45  $a_xml,
46  $this->ds,
47  $a_mapping
48  );
49  }
50 }
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.
Session data set class.
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...