ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSkillImporter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
30
31 public function init(): void
32 {
33 $this->ds = new ilSkillDataSet();
34 $this->ds->setDSPrefix("ds");
35
36 $this->config = $this->getImport()->getConfig("components/ILIAS/Skill");
37 $this->ds->setSkillTreeId($this->config->getSkillTreeId());
38 }
39
43 public function importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping): void
44 {
45 $parser = new ilDataSetImportParser(
46 $a_entity,
47 $this->getSchemaVersion(),
48 $a_xml,
49 $this->ds,
50 $a_mapping
51 );
52 }
53}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Import configuration class parent class.
Skill Data set class.
Importer class for skills.
ilImportConfig $config
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
Xml importer class.