ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilPollImporter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
28 protected ilPollDataSet $ds;
29
30 public function init(): void
31 {
32 $this->ds = new ilPollDataSet();
33 $this->ds->setDSPrefix("ds");
34 }
35
36 public function importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping): void
37 {
38 $this->ds->setImportDirectory($this->getImportDirectory());
39 $parser = new ilDataSetImportParser(
40 $a_entity,
41 $this->getSchemaVersion(),
42 $a_xml,
43 $this->ds,
44 $a_mapping
45 );
46 }
47}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Poll Dataset class.
Importer class for poll.
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
Xml importer class.