ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilTestExportFixedQuestionSet.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Modules/Test/classes/class.ilTestExport.php'
;
5
12
class
ilTestExportFixedQuestionSet
extends
ilTestExport
13
{
14
protected
function
initXmlExport
()
15
{
16
}
17
18
protected
function
populateQuestionSetConfigXml
(
ilXmlWriter
$xmlWriter)
19
{
20
}
21
22
protected
function
getQuestionsQtiXml
()
23
{
24
$questionQtiXml =
''
;
25
26
foreach
($this->test_obj->questions as $questionId) {
27
$questionQtiXml .= $this->
getQuestionQtiXml
($questionId);
28
}
29
30
return
$questionQtiXml;
31
}
32
33
protected
function
getQuestionIds
()
34
{
35
return
$this->test_obj->questions;
36
}
37
}
ilTestExportFixedQuestionSet\populateQuestionSetConfigXml
populateQuestionSetConfigXml(ilXmlWriter $xmlWriter)
Definition:
class.ilTestExportFixedQuestionSet.php:18
ilTestExportFixedQuestionSet\getQuestionIds
getQuestionIds()
Definition:
class.ilTestExportFixedQuestionSet.php:33
ilTestExport\getQuestionQtiXml
getQuestionQtiXml($questionId)
Definition:
class.ilTestExport.php:1023
ilXmlWriter
XML writer class.
Definition:
class.ilXmlWriter.php:17
ilTestExport
Export class for tests.
Definition:
class.ilTestExport.php:17
ilTestExportFixedQuestionSet\getQuestionsQtiXml
getQuestionsQtiXml()
Definition:
class.ilTestExportFixedQuestionSet.php:22
ilTestExportFixedQuestionSet\initXmlExport
initXmlExport()
Definition:
class.ilTestExportFixedQuestionSet.php:14
ilTestExportFixedQuestionSet
Definition:
class.ilTestExportFixedQuestionSet.php:12
Modules
Test
classes
class.ilTestExportFixedQuestionSet.php
Generated on Sat Jan 18 2025 19:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)