ILIAS  release_8 Revision v8.24
class.ilTestPlayerRandomQuestionSetGUI.php
Go to the documentation of this file.
1<?php
2
33{
35 {
36 global $DIC;
37 $component_repository = $DIC['component.repository'];
38
39 $questionList = new ilAssQuestionList($this->db, $this->lng, $this->refinery, $component_repository);
40
41 $questionList->setParentObjId($this->object->getId());
42
43 $questionList->setQuestionInstanceTypeFilter(ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES);
44
45 $questionList->setIncludeQuestionIdsFilter($this->testSequence->getQuestionIds());
46
47 return $questionList;
48 }
49
51 {
52 $info = $this->lng->txt('tst_wf_info_optional_question');
53 $info .= ' ' . $this->lng->txt('tst_wf_info_answer_not_adopted');
54 $this->tpl->setOnScreenMessage('info', $info);
55 }
56}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28