ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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)
 Returns schema versions that the component can export to.ILIAS chooses the first one, that has min/max constraints which fit to the target release. Please put the newest on top. Example: return array ( "4.1.0" => array( "namespace" => "http://www.ilias.de/Services/MetaData/md/4_1", "xsd_file" => "ilias_md_4_1.xsd", "min" => "4.1.0", "max" => "") ); More...
 
- 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)

Returns schema versions that the component can export to.ILIAS chooses the first one, that has min/max constraints which fit to the target release. Please put the newest on top. Example: return array ( "4.1.0" => array( "namespace" => "http://www.ilias.de/Services/MetaData/md/4_1", "xsd_file" => "ilias_md_4_1.xsd", "min" => "4.1.0", "max" => "") );

Reimplemented from ilXmlExporter.

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 
)

Reimplemented from ilXmlExporter.

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: