ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilTestPlayerFixedQuestionSetGUI.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 $DIC;
27 $ilPluginAdmin = $DIC['ilPluginAdmin'];
28
29 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
30 $questionList = new ilAssQuestionList($this->db, $this->lng, $ilPluginAdmin);
31
32 $questionList->setParentObjId($this->object->getId());
33
34 $questionList->setQuestionInstanceTypeFilter(ilAssQuestionList::QUESTION_INSTANCE_TYPE_DUPLICATES);
35
36 return $questionList;
37 }
38
40 {
41 $info = $this->lng->txt('tst_wf_info_optional_question');
42 $info .= ' ' . $this->lng->txt('tst_wf_info_answer_adopted_from_prev_pass');
44 }
45}
An exception for terminatinating execution or to throw for unit testing.
Output class for assessment test execution.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
$info
Definition: index.php:5
global $DIC
Definition: saml.php:7