ILIAS  release_8 Revision v8.23
ilScormAiccExporter Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilScormAiccExporter:
+ Collaboration diagram for ilScormAiccExporter:

Public Member Functions

 __construct ()
 
 init ()
 
 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)
 

Private Attributes

ilScormAiccDataSet $dataset
 

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="")
 
- Protected Attributes inherited from ilXmlExporter
string $dir_relative = ""
 
string $dir_absolute = ""
 
ilExport $exp
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 20 of file class.ilScormAiccExporter.php.

Constructor & Destructor Documentation

◆ __construct()

ilScormAiccExporter::__construct ( )

Definition at line 24 of file class.ilScormAiccExporter.php.

25  {
26  $this->dataset = new ilScormAiccDataSet();
27  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Member Function Documentation

◆ getValidSchemaVersions()

ilScormAiccExporter::getValidSchemaVersions ( string  $a_entity)
Returns
array<string, array<string, string|bool>>

Definition at line 44 of file class.ilScormAiccExporter.php.

44  : array
45  {
46  return array(
47  "5.1.0" => array(
48  "namespace" => "http://www.ilias.de/Modules/ScormAicc/sahs/5_1",
49  "xsd_file" => "xml/ilias_sahs_5_1.xsd",
50  "uses_dataset" => true,
51  "min" => "5.1.0",
52  "max" => "")
53  );
54  }

◆ getXmlRepresentation()

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

Definition at line 33 of file class.ilScormAiccExporter.php.

33  : string
34  {
35  $this->dataset->setExportDirectories($this->dir_relative, $this->dir_absolute);
36  //using own getXmlRepresentation function in ilScormAiccDataSet
37  return $this->dataset->getExtendedXmlRepresentation($a_entity, $a_schema_version, [$a_id], "", false, true);
38  }

◆ init()

ilScormAiccExporter::init ( )

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

29  : void
30  {
31  }

Field Documentation

◆ $dataset

ilScormAiccDataSet ilScormAiccExporter::$dataset
private

Definition at line 22 of file class.ilScormAiccExporter.php.


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