ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
+
Files
File List
+
Globals
+
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
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
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
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilAssessmentQuestionExporter.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
13
class
ilAssessmentQuestionExporter
extends
ilXmlExporter
14
{
15
public
function
getValidSchemaVersions
($a_entity)
16
{
17
/* export schema versions code */
18
}
19
20
public
function
init
()
21
{
22
/* assessment question init code */
23
}
24
30
public
function
getXmlRepresentation
($a_entity, $a_schema_version, $a_id)
31
{
37
global
$DIC
;
/* @var ILIAS\DI\Container $DIC */
38
39
$questionInstance = $DIC->question()->getQuestionInstance($a_id);
40
41
return
$questionInstance->toQtiXML();
42
}
43
}
ilAssessmentQuestionExporter
Definition:
class.ilAssessmentQuestionExporter.php:13
ilAssessmentQuestionExporter\init
init()
Definition:
class.ilAssessmentQuestionExporter.php:20
ilXmlExporter
Xml Exporter class.
Definition:
class.ilXmlExporter.php:11
$DIC
global $DIC
Definition:
goto.php:24
ilAssessmentQuestionExporter\getXmlRepresentation
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Definition:
class.ilAssessmentQuestionExporter.php:30
ilAssessmentQuestionExporter\getValidSchemaVersions
getValidSchemaVersions($a_entity)
Definition:
class.ilAssessmentQuestionExporter.php:15
Services
AssessmentQuestion
classes
class.ilAssessmentQuestionExporter.php
Generated on Fri Apr 4 2025 21:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)