ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
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:232
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:40
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 Aug 31 2025 23:03:57 for ILIAS by
1.8.13 (using
Doxyfile
)