ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Class TestScreenGUI. More...
Public Member Functions | |
__construct (private readonly \ilObjTest $object, private readonly \ilObjUser $user, private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly \ilLanguage $lng, private readonly Refinery $refinery, private readonly \ilCtrlInterface $ctrl, private readonly \ilGlobalTemplateInterface $tpl, private readonly ContentStyle $content_style, private readonly HTTPServices $http, private readonly TabsManager $tabs_manager, private readonly \ilAccessHandler $access, private readonly \ilTestAccess $test_access, private readonly \ilDBInterface $database, private readonly \ilRbacSystem $rbac_system) | |
executeCommand () | |
testScreen () | |
Data Fields | |
const | DEFAULT_CMD = 'testScreen' |
Private Member Functions | |
handleRenderMessageBox (array $elements) | |
handleRenderIntroduction (array $elements) | |
handleRenderLauncher (array $elements) | |
getLauncher () | |
getResumeLauncherLink () | |
buildModalLauncher () | |
getModalLauncherLink () | |
getModalLauncherInputs () | |
getModalLauncherMessageBox () | |
getStartLauncherLink () | |
evaluateLauncherModalForm (Result $result) | |
testCanBeStarted () | |
isUserOutOfProcessingTime () | |
blockUserAfterHavingPassed () | |
hasAvailablePasses () | |
lastPassSuspended () | |
isModalLauncherNeeded () | |
getSkillLevelThresholdsMissingInfo () | |
areSkillLevelThresholdsMissing () | |
buildLinkTarget (?string $cmd=null) | |
Private Attributes | |
readonly ilTestPassesSelector | $test_passes_selector |
readonly int | $ref_id |
readonly MainSettings | $main_settings |
readonly ilTestSession | $test_session |
readonly DataFactory | $data_factory |
ilTestPasswordChecker | $password_checker |
Class TestScreenGUI.
Definition at line 45 of file class.TestScreenGUI.php.
ILIAS\Test\Presentation\TestScreenGUI::__construct | ( | private readonly \ilObjTest | $object, |
private readonly \ilObjUser | $user, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly UIRenderer | $ui_renderer, | ||
private readonly \ilLanguage | $lng, | ||
private readonly Refinery | $refinery, | ||
private readonly \ilCtrlInterface | $ctrl, | ||
private readonly \ilGlobalTemplateInterface | $tpl, | ||
private readonly ContentStyle | $content_style, | ||
private readonly HTTPServices | $http, | ||
private readonly TabsManager | $tabs_manager, | ||
private readonly \ilAccessHandler | $access, | ||
private readonly \ilTestAccess | $test_access, | ||
private readonly \ilDBInterface | $database, | ||
private readonly \ilRbacSystem | $rbac_system | ||
) |
Definition at line 56 of file class.TestScreenGUI.php.
References ILIAS\Repository\database(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
private |
Definition at line 570 of file class.TestScreenGUI.php.
References $data, ILIAS\Repository\database(), and ILIAS\Repository\object().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\testScreen().
|
private |
Definition at line 521 of file class.TestScreenGUI.php.
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
|
private |
Definition at line 599 of file class.TestScreenGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getSkillLevelThresholdsMissingInfo().
|
private |
Definition at line 301 of file class.TestScreenGUI.php.
References ILIAS\Test\Presentation\TestScreenGUI\evaluateLauncherModalForm(), ILIAS\Test\Presentation\TestScreenGUI\getModalLauncherInputs(), ILIAS\Test\Presentation\TestScreenGUI\getModalLauncherLink(), ILIAS\Test\Presentation\TestScreenGUI\getModalLauncherMessageBox(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
|
private |
Definition at line 401 of file class.TestScreenGUI.php.
References $_SERVER, $message, ILIAS\Repository\ctrl(), ilTestPlayerCommands\INIT_TEST, ILIAS\Data\Result\isOK(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, null, ILIAS\Repository\object(), ilSession\set(), ILIAS\Repository\user(), and ILIAS\Data\Result\value().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\buildModalLauncher().
ILIAS\Test\Presentation\TestScreenGUI::executeCommand | ( | ) |
Definition at line 85 of file class.TestScreenGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ROOT_FOLDER_ID, and ILIAS\Test\Presentation\TabsManager\TAB_ID_TEST.
|
private |
Definition at line 205 of file class.TestScreenGUI.php.
References ILIAS\Test\Presentation\TestScreenGUI\blockUserAfterHavingPassed(), ILIAS\Test\Presentation\TestScreenGUI\buildModalLauncher(), ilDatePresentation\formatDate(), ILIAS\Test\Presentation\TestScreenGUI\getResumeLauncherLink(), ILIAS\Test\Presentation\TestScreenGUI\getStartLauncherLink(), ILIAS\Test\Presentation\TestScreenGUI\hasAvailablePasses(), IL_CAL_UNIX, ILIAS\Test\Presentation\TestScreenGUI\isModalLauncherNeeded(), ILIAS\Test\Presentation\TestScreenGUI\isUserOutOfProcessingTime(), ILIAS\Test\Presentation\TestScreenGUI\lastPassSuspended(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\handleRenderLauncher().
|
private |
Definition at line 327 of file class.TestScreenGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Data\Password\toString(), and ILIAS\Repository\user().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\buildModalLauncher().
|
private |
Definition at line 321 of file class.TestScreenGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\buildModalLauncher().
|
private |
Definition at line 376 of file class.TestScreenGUI.php.
References ILIAS\Repository\lng(), and null.
Referenced by ILIAS\Test\Presentation\TestScreenGUI\buildModalLauncher().
|
private |
Definition at line 292 of file class.TestScreenGUI.php.
References $url, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilTestPlayerCommands\RESUME_PLAYER.
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
|
private |
Definition at line 554 of file class.TestScreenGUI.php.
References $message, ILIAS\Test\Presentation\TestScreenGUI\buildLinkTarget(), ilTestSkillLevelThresholdsGUI\CMD_SHOW_SKILL_THRESHOLDS, and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\testScreen().
|
private |
Definition at line 392 of file class.TestScreenGUI.php.
References $url, ILIAS\Repository\ctrl(), ilTestPlayerCommands\INIT_TEST, and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
|
private |
Definition at line 181 of file class.TestScreenGUI.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\testScreen().
|
private |
Definition at line 199 of file class.TestScreenGUI.php.
References ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\testScreen().
|
private |
Definition at line 126 of file class.TestScreenGUI.php.
References ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Test\Presentation\TestScreenGUI\isUserOutOfProcessingTime(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\testScreen().
|
private |
Definition at line 531 of file class.TestScreenGUI.php.
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
|
private |
Definition at line 543 of file class.TestScreenGUI.php.
References ILIAS\Repository\user().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
|
private |
Definition at line 504 of file class.TestScreenGUI.php.
References null, and ILIAS\Repository\object().
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher(), and ILIAS\Test\Presentation\TestScreenGUI\handleRenderMessageBox().
|
private |
Definition at line 538 of file class.TestScreenGUI.php.
Referenced by ILIAS\Test\Presentation\TestScreenGUI\getLauncher().
|
private |
Definition at line 494 of file class.TestScreenGUI.php.
References ILIAS\Repository\object().
ILIAS\Test\Presentation\TestScreenGUI::testScreen | ( | ) |
Definition at line 106 of file class.TestScreenGUI.php.
References ILIAS\Test\Presentation\TestScreenGUI\$ref_id, ILIAS\Test\Presentation\TestScreenGUI\areSkillLevelThresholdsMissing(), ILIAS\Test\Presentation\TestScreenGUI\getSkillLevelThresholdsMissingInfo(), ILIAS\Test\Presentation\TestScreenGUI\handleRenderIntroduction(), ILIAS\Test\Presentation\TestScreenGUI\handleRenderLauncher(), ILIAS\Test\Presentation\TestScreenGUI\handleRenderMessageBox(), ILIAS\Repository\object(), and ILIAS\Test\Presentation\TabsManager\TAB_ID_TEST.
|
private |
Definition at line 53 of file class.TestScreenGUI.php.
|
private |
Definition at line 51 of file class.TestScreenGUI.php.
|
private |
Definition at line 54 of file class.TestScreenGUI.php.
|
private |
Definition at line 50 of file class.TestScreenGUI.php.
Referenced by ILIAS\Test\Presentation\TestScreenGUI\testScreen().
|
private |
Definition at line 49 of file class.TestScreenGUI.php.
|
private |
Definition at line 52 of file class.TestScreenGUI.php.
const ILIAS\Test\Presentation\TestScreenGUI::DEFAULT_CMD = 'testScreen' |
Definition at line 47 of file class.TestScreenGUI.php.
Referenced by ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig().