ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilSkillImporter.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
28 {
29  protected ilSkillDataSet $ds;
31 
32  public function init(): void
33  {
34  $this->ds = new ilSkillDataSet();
35  $this->ds->setDSPrefix("ds");
36 
37  $this->config = $this->getImport()->getConfig("components/ILIAS/Skill");
38  $this->ds->setSkillTreeId($this->config->getSkillTreeId());
39  }
40 
44  public function importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping): void
45  {
46  $parser = new ilDataSetImportParser(
47  $a_entity,
48  $this->getSchemaVersion(),
49  $a_xml,
50  $this->ds,
51  $a_mapping
52  );
53  }
54 }
Skill Data set class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Manifest parser for ILIAS standard export files.
importXmlRepresentation(string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
ilImportConfig $config
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...