ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilTestPlayerRandomQuestionSetGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'Modules/Test/classes/class.ilTestOutputGUI.php';
5
23{
24 protected function buildTestPassQuestionList()
25 {
26 global $ilPluginAdmin;
27
28 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
29 $questionList = new ilAssQuestionList($this->db, $this->lng, $ilPluginAdmin);
30
31 $questionList->setParentObjId($this->object->getId());
32
33 $questionList->setQuestionInstanceTypeFilter(ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES);
34
35 $questionList->setIncludeQuestionIdsFilter($this->testSequence->getQuestionIds());
36
37 return $questionList;
38 }
39
41 {
42 $info = $this->lng->txt('tst_wf_info_optional_question');
43 $info .= ' '.$this->lng->txt('tst_wf_info_answer_not_adopted');
45 }
46}
Output class for assessment test execution.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
$info
Definition: example_052.php:80