ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilSkillExporter Class Reference

Exporter class for skills. More...

+ Inheritance diagram for ilSkillExporter:
+ Collaboration diagram for ilSkillExporter:

Public Member Functions

 getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id)
 
 getValidSchemaVersions (string $a_entity)
 
- Public Member Functions inherited from ilXmlExporter
 __construct ()
 
 setExport (ilExport $a_exp)
 
 getExport ()
 
 getXmlRepresentation (string $a_entity, string $a_schema_version, string $a_id)
 
 init ()
 
 setExportDirectories (string $a_dir_relative, string $a_dir_absolute)
 
 getRelativeExportDirectory ()
 
 getAbsoluteExportDirectory ()
 
 getXmlExportHeadDependencies (string $a_entity, string $a_target_release, array $a_ids)
 Get head dependencies. More...
 
 getXmlExportTailDependencies (string $a_entity, string $a_target_release, array $a_ids)
 Get tail dependencies. More...
 
 getValidSchemaVersions (string $a_entity)
 Returns schema versions that the component can export to. More...
 
 determineSchemaVersion (string $a_entity, string $a_target_release)
 

Protected Attributes

ilSkillExportConfig $config
 
- Protected Attributes inherited from ilXmlExporter
ilExport $exp
 

Private Attributes

ilSkillDataSet $ds
 

Additional Inherited Members

- Static Public Member Functions inherited from ilXmlExporter
static lookupExportDirectory (string $a_obj_type, int $a_obj_id, string $a_export_type='xml', string $a_entity="")
 

Detailed Description

Exporter class for skills.

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

Definition at line 27 of file class.ilSkillExporter.php.

Member Function Documentation

◆ getValidSchemaVersions()

ilSkillExporter::getValidSchemaVersions ( string  $a_entity)

Definition at line 57 of file class.ilSkillExporter.php.

57  : array
58  {
59  return array(
60  "8.0" => array(
61  "namespace" => "http://www.ilias.de/Services/Skill/skll/8_0",
62  "xsd_file" => "ilias_skll_8_0.xsd",
63  "uses_dataset" => true,
64  "min" => "8.0",
65  "max" => ""),
66  "7.0" => array(
67  "namespace" => "http://www.ilias.de/Services/Skill/skll/7_0",
68  "xsd_file" => "ilias_skll_7_0.xsd",
69  "uses_dataset" => true,
70  "min" => "7.0",
71  "max" => ""),
72  "5.1.0" => array(
73  "namespace" => "http://www.ilias.de/Services/Skill/skll/5_1",
74  "xsd_file" => "ilias_skll_5_1.xsd",
75  "uses_dataset" => true,
76  "min" => "5.1.0",
77  "max" => "")
78  );
79  }

◆ getXmlRepresentation()

ilSkillExporter::getXmlRepresentation ( string  $a_entity,
string  $a_schema_version,
string  $a_id 
)

Definition at line 49 of file class.ilSkillExporter.php.

49  : string
50  {
51  return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, [$a_id], "", true, true);
52  }

Field Documentation

◆ $config

ilSkillExportConfig ilSkillExporter::$config
protected

Definition at line 30 of file class.ilSkillExporter.php.

◆ $ds

ilSkillDataSet ilSkillExporter::$ds
private

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


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