ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ 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
ExportFixedQuestionSet.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Test\ExportImport
;
22
29
class
ExportFixedQuestionSet
extends
Export
30
{
31
protected
function
initXmlExport
()
32
{
33
}
34
35
protected
function
populateQuestionSetConfigXml
(\
ilXmlWriter
$xml_writer)
36
{
37
}
38
39
protected
function
getQuestionsQtiXml
(): string
40
{
41
$question_qti_xml =
''
;
42
43
foreach
($this->test_obj->questions as $question_id) {
44
$question_qti_xml .= $this->
getQuestionQtiXml
($question_id);
45
}
46
47
return
$question_qti_xml;
48
}
49
50
protected
function
getQuestionIds
(): array
51
{
52
return
$this->test_obj->questions;
53
}
54
}
ILIAS\Test\ExportImport\Export\getQuestionQtiXml
getQuestionQtiXml(int $question_id)
Definition:
Export.php:224
ilXmlWriter
ILIAS\Test\ExportImport
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
CertificateExport.php:21
ILIAS\Test\ExportImport\ExportFixedQuestionSet\initXmlExport
initXmlExport()
Definition:
ExportFixedQuestionSet.php:31
ILIAS\Test\ExportImport\ExportFixedQuestionSet\getQuestionIds
getQuestionIds()
Definition:
ExportFixedQuestionSet.php:50
ILIAS\Test\ExportImport\Export
Export class for tests.
Definition:
Export.php:39
ILIAS\Test\ExportImport\ExportFixedQuestionSet\getQuestionsQtiXml
getQuestionsQtiXml()
Definition:
ExportFixedQuestionSet.php:39
ILIAS\Test\ExportImport\ExportFixedQuestionSet
Definition:
ExportFixedQuestionSet.php:29
ILIAS\Test\ExportImport\ExportFixedQuestionSet\populateQuestionSetConfigXml
populateQuestionSetConfigXml(\ilXmlWriter $xml_writer)
Definition:
ExportFixedQuestionSet.php:35
components
ILIAS
Test
src
ExportImport
ExportFixedQuestionSet.php
Generated on Sun Apr 6 2025 23:04:19 for ILIAS by
1.8.13 (using
Doxyfile
)