ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilScormAiccExporter Class Reference
+ 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
ilExport $exp
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilScormAiccExporter::__construct ( )

Reimplemented from ilXmlExporter.

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

26 {
28 $this->dataset = new ilScormAiccDataSet();
29 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getValidSchemaVersions()

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

Reimplemented from ilXmlExporter.

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

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

◆ getXmlRepresentation()

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

Reimplemented from ilXmlExporter.

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

35 : string
36 {
37 $this->dataset->initByExporter($this);
38 //using own getXmlRepresentation function in ilScormAiccDataSet
39 return $this->dataset->getExtendedXmlRepresentation( $this->getExport()->export_run_dir, $a_entity, $a_schema_version, [ $a_id ], "", false, true );
40 }

References ilXmlExporter\getExport().

+ Here is the call graph for this function:

◆ init()

ilScormAiccExporter::init ( )

Reimplemented from ilXmlExporter.

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

31 : void
32 {
33 }

Field Documentation

◆ $dataset

ilScormAiccDataSet ilScormAiccExporter::$dataset
private

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


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