ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
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
$this->dataset =
new
ilScormAiccDataSet
();
28
}
29
30
public
function
init
(): void
31
{
32
}
33
34
public
function
getXmlRepresentation
(
string
$a_entity,
string
$a_schema_version,
string
$a_id): string
35
{
36
$this->dataset->initByExporter($this);
37
//using own getXmlRepresentation function in ilScormAiccDataSet
38
return
$this->dataset->getExtendedXmlRepresentation($a_entity, $a_schema_version, [$a_id],
""
,
false
,
true
);
39
}
40
//todo:check if xsd files must be provided
41
45
public
function
getValidSchemaVersions
(
string
$a_entity): array
46
{
47
return
array(
48
"5.1.0"
=> array(
49
"namespace"
=>
"http://www.ilias.de/Modules/ScormAicc/sahs/5_1"
,
50
"xsd_file"
=>
"xml/ilias_sahs_5_1.xsd"
,
51
"uses_dataset"
=>
true
,
52
"min"
=>
"5.1.0"
,
53
"max"
=>
""
)
54
);
55
}
56
57
// public function getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
58
// {
59
// $md_ids = array();
60
// $md_ids[0] = "0:".$mob_id.":mob";
61
//
62
// return array (
63
// array(
64
// "component" => "components/ILIAS/ScormAicc",
65
// "entity" => "md",
66
// "ids" => $md_ids)
67
// );
68
// }
69
}
ilXmlExporter
ilScormAiccExporter\__construct
__construct()
Definition:
class.ilScormAiccExporter.php:25
ilScormAiccExporter
Definition:
class.ilScormAiccExporter.php:21
ilScormAiccExporter\$dataset
ilScormAiccDataSet $dataset
Definition:
class.ilScormAiccExporter.php:23
ilScormAiccDataSet
Definition:
class.ilScormAiccDataSet.php:21
ilScormAiccExporter\getXmlRepresentation
getXmlRepresentation(string $a_entity, string $a_schema_version, string $a_id)
Definition:
class.ilScormAiccExporter.php:34
ilScormAiccExporter\init
init()
Definition:
class.ilScormAiccExporter.php:30
ilScormAiccExporter\getValidSchemaVersions
getValidSchemaVersions(string $a_entity)
Definition:
class.ilScormAiccExporter.php:45
components
ILIAS
ScormAicc
classes
class.ilScormAiccExporter.php
Generated on Tue Apr 8 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)