ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSessionImporter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
29{
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}
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.
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
Xml importer class.