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