ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilSkillImporter Class Reference

Importer class for skills. More...

+ Inheritance diagram for ilSkillImporter:
+ Collaboration diagram for ilSkillImporter:

Public Member Functions

 init ()
 
 importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
 
- Public Member Functions inherited from ilXmlImporter
 __construct ()
 
 setImport (ilImport $a_val)
 
 getImport ()
 
 init ()
 
 setInstallId (string $a_val)
 
 getInstallId ()
 
 setInstallUrl (string $a_val)
 
 getInstallUrl ()
 
 setSchemaVersion (string $a_val)
 
 getSchemaVersion ()
 
 setImportDirectory (string $a_val)
 
 getImportDirectory ()
 
 setSkipEntities (array $a_val)
 
 getSkipEntities ()
 
 exportedFromSameInstallation ()
 
 importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
 
 finalProcessing (ilImportMapping $a_mapping)
 
 afterContainerImportProcessing (ilImportMapping $mapping)
 

Protected Attributes

ilSkillDataSet $ds
 
ilImportConfig $config
 
- Protected Attributes inherited from ilXmlImporter
array $skip_entities = array()
 
ilImport $imp
 
string $install_id
 
string $install_url
 
string $schema_version
 
string $import_directory
 

Detailed Description

Importer class for skills.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e

Definition at line 26 of file class.ilSkillImporter.php.

Member Function Documentation

◆ importXmlRepresentation()

ilSkillImporter::importXmlRepresentation ( string  $a_entity,
string  $a_id,
string  $a_xml,
ilImportMapping  $a_mapping 
)

Reimplemented from ilXmlImporter.

Definition at line 43 of file class.ilSkillImporter.php.

43 : void
44 {
45 $parser = new ilDataSetImportParser(
46 $a_entity,
47 $this->getSchemaVersion(),
48 $a_xml,
49 $this->ds,
50 $a_mapping
51 );
52 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ilXmlImporter\getSchemaVersion().

+ Here is the call graph for this function:

◆ init()

ilSkillImporter::init ( )

Reimplemented from ilXmlImporter.

Definition at line 31 of file class.ilSkillImporter.php.

31 : 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 }
Skill Data set class.

References ilXmlImporter\getImport().

+ Here is the call graph for this function:

Field Documentation

◆ $config

ilImportConfig ilSkillImporter::$config
protected

Definition at line 29 of file class.ilSkillImporter.php.

◆ $ds

ilSkillDataSet ilSkillImporter::$ds
protected

Definition at line 28 of file class.ilSkillImporter.php.


The documentation for this class was generated from the following file: