ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilScormAiccExporter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilScormAiccExporter
extends
ilXmlExporter
22
{
23
private
ilScormAiccDataSet
$dataset
;
24
25
public
function
__construct
()
26
{
27
parent::__construct
();
28
$this->dataset =
new
ilScormAiccDataSet
();
29
}
30
31
public
function
init
(): void
32
{
33
}
34
35
public
function
getXmlRepresentation
(
string
$a_entity,
string
$a_schema_version,
string
$a_id): 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
}
41
//todo:check if xsd files must be provided
42
46
public
function
getValidSchemaVersions
(
string
$a_entity): 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
}
57
58
// public function getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
59
// {
60
// $md_ids = array();
61
// $md_ids[0] = "0:".$mob_id.":mob";
62
//
63
// return array (
64
// array(
65
// "component" => "components/ILIAS/ScormAicc",
66
// "entity" => "md",
67
// "ids" => $md_ids)
68
// );
69
// }
70
}
ilScormAiccDataSet
Definition:
class.ilScormAiccDataSet.php:22
ilScormAiccExporter
Definition:
class.ilScormAiccExporter.php:22
ilScormAiccExporter\getValidSchemaVersions
getValidSchemaVersions(string $a_entity)
Definition:
class.ilScormAiccExporter.php:46
ilScormAiccExporter\getXmlRepresentation
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Definition:
class.ilScormAiccExporter.php:35
ilScormAiccExporter\init
init()
Definition:
class.ilScormAiccExporter.php:31
ilScormAiccExporter\__construct
__construct()
Definition:
class.ilScormAiccExporter.php:25
ilScormAiccExporter\$dataset
ilScormAiccDataSet $dataset
Definition:
class.ilScormAiccExporter.php:23
ilXmlExporter
Xml Exporter class.
Definition:
class.ilXmlExporter.php:28
ilXmlExporter\getExport
getExport()
Definition:
class.ilXmlExporter.php:40
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
components
ILIAS
ScormAicc
classes
class.ilScormAiccExporter.php
Generated on Sat Oct 18 2025 23:03:39 for ILIAS by
1.9.4 (using
Doxyfile
)