ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
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 26 of file class.ilSkillExporter.php.

Member Function Documentation

◆ getValidSchemaVersions()

ilSkillExporter::getValidSchemaVersions ( string  $a_entity)

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

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

◆ getXmlRepresentation()

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

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

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

Field Documentation

◆ $config

ilSkillExportConfig ilSkillExporter::$config
protected

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

◆ $ds

ilSkillDataSet ilSkillExporter::$ds
private

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


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