ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilPollImporter.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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 }
Importer class for poll.
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)
Poll Dataset class.
Xml importer class.