ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ExportFixedQuestionSet.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
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}
Export class for tests.
Definition: Export.php:41
getQuestionQtiXml(int $question_id)
Definition: Export.php:232
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...