ILIAS  release_8 Revision v8.24
class.ilSessionImporter.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
30{
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}
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...
Session data set class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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...