ILIAS  release_8 Revision v8.24
class.ilSkillImporter.php
Go to the documentation of this file.
1<?php
2
26{
29
30 public function init(): void
31 {
32 $this->ds = new ilSkillDataSet();
33 $this->ds->setDSPrefix("ds");
34
35 $this->config = $this->getImport()->getConfig("Services/Skill");
36 $this->ds->setSkillTreeId($this->config->getSkillTreeId());
37 }
38
42 public function importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping): void
43 {
44 $parser = new ilDataSetImportParser(
45 $a_entity,
46 $this->getSchemaVersion(),
47 $a_xml,
48 $this->ds,
49 $a_mapping
50 );
51 }
52}
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Skill Data set class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilImportConfig $config
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...