ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilTestPlayerFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
29
class
ilTestPlayerFactory
30
{
36
private
$testOBJ
=
null
;
37
43
public
function
__construct
(
ilObjTest
$testOBJ
)
44
{
45
$this->testOBJ =
$testOBJ
;
46
}
47
52
public
function
getPlayerGUI
()
53
{
54
if
($this->testOBJ->isFixedTest()) {
55
return
new
ilTestPlayerFixedQuestionSetGUI
($this->testOBJ);
56
}
57
return
new
ilTestPlayerRandomQuestionSetGUI
($this->testOBJ);
58
}
59
}
ilTestPlayerFactory
Definition:
class.ilTestPlayerFactory.php:29
ilTestPlayerFactory\__construct
__construct(ilObjTest $testOBJ)
constructor
Definition:
class.ilTestPlayerFactory.php:43
ilTestPlayerFactory\$testOBJ
$testOBJ
Definition:
class.ilTestPlayerFactory.php:36
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ilTestPlayerRandomQuestionSetGUI
Definition:
class.ilTestPlayerRandomQuestionSetGUI.php:31
ilTestPlayerFactory\getPlayerGUI
getPlayerGUI()
creates and returns an instance of a player gui that corresponds to the current test mode ...
Definition:
class.ilTestPlayerFactory.php:52
ilTestPlayerFixedQuestionSetGUI
Definition:
class.ilTestPlayerFixedQuestionSetGUI.php:32
ilObjTest
components
ILIAS
Test
classes
class.ilTestPlayerFactory.php
Generated on Sun Aug 31 2025 23:03:56 for ILIAS by
1.8.13 (using
Doxyfile
)