ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (ilObjTest $object) | |
executeCommand () | |
saveTagsCmd () | |
Save tags for tagging gui. More... | |
updateWorkingTime () | |
updates working time and stores state saveresult to see if question has to be stored or not More... | |
removeIntermediateSolution () | |
saveQuestionSolution (bool $authorized=true, bool $force=false) | |
suspendTestCmd () | |
isMaxProcessingTimeReached () | |
setAnonymousIdCmd () | |
Sets a session variable with the test access code for an anonymous test user. More... | |
getLockParameter () | |
displayAccessCodeCmd () | |
accessCodeConfirmedCmd () | |
handleUserSettings () | |
Handles some form parameters on starting and resuming a test. More... | |
redirectAfterAutosaveCmd () | |
Redirect the user after an automatic save when the time limit is reached. More... | |
redirectAfterQuestionListCmd () | |
autosaveCmd () | |
Automatically save a user answer while working on the test (called repeatedly by asynchronous posts in configured autosave interval) More... | |
autosaveOnTimeLimitCmd () | |
Automatically save a user answer when the limited duration of a test run is reached (called by synchronous form submit when the remaining time count down reaches zero) More... | |
finishTestCmd () | |
buildFinishTestModal () | |
redirectBackCmd () | |
showFinalStatementCmd () | |
isTestAccessible () | |
test accessible returns true if the user can perform the test More... | |
isNrOfTriesReached () | |
nr of tries exceeded More... | |
endingTimeReached () | |
handle endingTimeReached More... | |
max_processing_time_reached () | |
Outputs a message when the maximum processing time is reached. More... | |
confirmSubmitAnswers () | |
confirm submit results if confirm then results are submitted and the screen will be redirected to the startpage of the test public More... | |
checkWorkingTimeCmd () | |
This is asynchronously called by tpl.workingtime.js to check for changes in the user's processing time for a test. More... | |
outQuestionSummaryCmd () | |
Output of a summary of all test questions for test participants. More... | |
backFromFinishingCmd () | |
outCorrectSolution () | |
Creates an output of the solution of an answer compared to the correct solution. More... | |
showListOfAnswers ($active_id, $pass=null, $top_data="", $bottom_data="") | |
Creates an output of the list of answers for a test participant during the test (only the actual pass will be shown) More... | |
getContentBlockName () | |
Returns the name of the current content block (depends on the kiosk mode setting) More... | |
outUserResultsOverviewCmd () | |
![]() | |
isContextResultPresentation () | |
setContextResultPresentation (bool $contextResultPresentation) | |
setParticipantData (ilTestParticipantData $participantData) | |
getParticipantData () | |
getPassOverviewTableData (ilTestSession $test_session, array $passes, bool $with_results) | |
setObjectiveOrientedContainer (ilTestObjectiveOrientedContainer $objective_oriented_container) | |
getObjectiveOrientedContainer () | |
executeCommand () | |
execute command More... | |
buildPassOverviewTableGUI (ilTestEvaluationGUI $target_gui) | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=false, $only_answered_questions=false, $show_question_only=false, $show_reached_points=false, $anchorNav=false, ?ilTestQuestionRelatedObjectivesList $objectives_list=null, ?ResultsTitlesBuilder $testResultHeaderLabelBuilder=null) | |
Returns the list of answers of a users test pass. More... | |
getResultsSignature () | |
Returns HTML code for a signature field. More... | |
getAdditionalUsrDataHtmlAndPopulateWindowTitle ($testSession, $active_id, $overwrite_anonymity=false) | |
Returns the user data for a test results output. More... | |
getCorrectSolutionOutput ($question_id, $active_id, $pass, ?ilTestQuestionRelatedObjectivesList $objectives_list=null) | |
Returns an output of the solution to an answer compared to the correct solution. More... | |
getObject () | |
Data Fields | |
const | PRESENTATION_MODE_VIEW = 'view' |
const | PRESENTATION_MODE_EDIT = 'edit' |
const | FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
bool | $max_processing_time_reached |
bool | $ending_time_reached |
int | $ref_id |
const | FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
Private Member Functions | |
buildQuestionObject () | |
save (assQuestion $question_obj, bool $authorized) | |
buildNextButtonInstance ($primaryNext) | |
buildPreviousButtonInstance () | |
getOnLoadCodeForNavigationButtons (string $target, string $cmd) | |
outProcessingTime (int $active_id, bool $verbose) | |
getQuestionFeedbackModalHtml (ilTemplate $tpl, string $nav_url) | |
isValidSequenceElement ($sequence_element) | |
Private Attributes | |
array | $cached_question_guis = [] |
array | $cached_question_objects = [] |
Definition at line 37 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::__construct | ( | ilObjTest | $object | ) |
Definition at line 79 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilTestPlayerAbstractGUI::accessCodeConfirmedCmd | ( | ) |
Definition at line 805 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 3095 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\user().
Referenced by startTestCmd().
|
protected |
Definition at line 1050 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), ilUtil\redirect(), ilObjTest\REDIRECT_NONE, redirectBackCmd(), and ilTestPlayerCommands\SHOW_FINAL_STATMENT.
ilTestPlayerAbstractGUI::autosaveCmd | ( | ) |
Automatically save a user answer while working on the test (called repeatedly by asynchronous posts in configured autosave interval)
Definition at line 865 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\access(), canSaveResult(), exit, getAnswerChangedParameter(), getCurrentQuestionId(), isParticipantsAnswerFixed(), ILIAS\Repository\lng(), and saveQuestionSolution().
ilTestPlayerAbstractGUI::autosaveOnTimeLimitCmd | ( | ) |
Automatically save a user answer when the limited duration of a test run is reached (called by synchronous form submit when the remaining time count down reaches zero)
Definition at line 899 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentQuestionId(), isParticipantsAnswerFixed(), ilTestPlayerCommands\REDIRECT_ON_TIME_LIMIT, and saveQuestionSolution().
ilTestPlayerAbstractGUI::backFromFinishingCmd | ( | ) |
Definition at line 1932 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 2405 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getSolvedQuestions(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTestPlayerCommands\MARK_QUESTION_SAVE, ILIAS\Repository\object(), ilTestPlayerCommands\REVERT_CHANGES, ilTestPlayerCommands\SHOW_INSTANT_RESPONSE, ilTestPlayerCommands\SUBMIT_SOLUTION, and ilTestPlayerCommands\UNMARK_QUESTION_SAVE.
Referenced by showQuestionEditable().
ilTestPlayerAbstractGUI::buildFinishTestModal | ( | ) |
Definition at line 1071 of file class.ilTestPlayerAbstractGUI.php.
References $message, ILIAS\Repository\ctrl(), ilTestPlayerCommands\FINISH_TEST, ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by finishTestCmd().
|
private |
bool | $primaryNext |
Definition at line 543 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getOnLoadCodeForNavigationButtons(), ILIAS\Repository\lng(), and ilTestPlayerCommands\NEXT_QUESTION.
Referenced by populateLowerNextButtonBlock(), and populateUpperNextButtonBlock().
|
private |
$disabled |
Definition at line 566 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getOnLoadCodeForNavigationButtons(), ILIAS\Repository\lng(), and ilTestPlayerCommands\PREVIOUS_QUESTION.
Referenced by populateLowerPreviousButtonBlock(), and populateUpperPreviousButtonBlock().
|
private |
Definition at line 377 of file class.ilTestPlayerAbstractGUI.php.
References getQuestionInstance(), isParticipantsAnswerFixed(), and null.
Referenced by saveQuestionSolution().
|
protected |
Definition at line 2371 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getSolvedQuestions(), ILIAS\Repository\ctrl(), ilTestPlayerCommands\EDIT_SOLUTION, isParticipantsAnswerFixed(), ILIAS\Repository\lng(), ilTestPlayerCommands\MARK_QUESTION, ILIAS\Repository\object(), and ilTestPlayerCommands\UNMARK_QUESTION.
Referenced by showQuestionViewable().
|
abstractprotected |
Referenced by executeCommand(), and handleSkillTriggering().
|
protected |
Definition at line 2343 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
|
protected |
Definition at line 429 of file class.ilTestPlayerAbstractGUI.php.
References isMaxProcessingTimeReached(), and isNrOfTriesReached().
Referenced by autosaveCmd(), and saveQuestionSolution().
|
protected |
Definition at line 230 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
Definition at line 247 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
|
protected |
Definition at line 257 of file class.ilTestPlayerAbstractGUI.php.
References ilTestSession\getUserId(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilTestPlayerAbstractGUI::checkWorkingTimeCmd | ( | ) |
This is asynchronously called by tpl.workingtime.js to check for changes in the user's processing time for a test.
This includes extra time added during the test, as this is checked by ilObjTest::getProcessingTimeInSeconds(). The Javascript side then updates the test timer without needing to reload the test page.
Definition at line 1821 of file class.ilTestPlayerAbstractGUI.php.
References exit.
|
protected |
Definition at line 2334 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
ilTestPlayerAbstractGUI::confirmSubmitAnswers | ( | ) |
confirm submit results if confirm then results are submitted and the screen will be redirected to the startpage of the test public
Definition at line 1771 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getContentBlockName(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Detect changes sent in the background to the server This is called by ajax from ilTestPlayerQuestionEditControl.js It is needed by Java and Flash question and eventually plgin question vtypes.
Definition at line 914 of file class.ilTestPlayerAbstractGUI.php.
References exit, getCurrentQuestionId(), and getQuestionInstance().
|
protected |
Definition at line 450 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 1311 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), and ILIAS\Repository\object().
Referenced by showQuestionEditable().
|
protected |
Definition at line 1555 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), getCurrentSequenceElement(), ilTestServiceGUI\getObject(), getQuestionInstance(), ILIAS\Repository\logger(), ILIAS\Repository\object(), PRESENTATION_MODE_VIEW, ilTestPlayerCommands\SHOW_QUESTION, and ILIAS\Repository\user().
ilTestPlayerAbstractGUI::displayAccessCodeCmd | ( | ) |
Definition at line 793 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\ACCESS_CODE_CONFIRMED, ILIAS\Repository\ctrl(), getContentBlockName(), and ILIAS\Repository\lng().
|
protected |
Definition at line 1495 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::endingTimeReached | ( | ) |
handle endingTimeReached
Definition at line 1744 of file class.ilTestPlayerAbstractGUI.php.
References ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Repository\object(), and redirectBackCmd().
Referenced by prepareTestPage().
|
protected |
Definition at line 264 of file class.ilTestPlayerAbstractGUI.php.
References ilTestSession\doesAccessCodeInSessionExists(), ilTestSession\getAccessCodeFromSession(), ilTestSession\getActiveId(), ilTestSession\isAnonymousUser(), ilTestSession\saveToDb(), ilTestSession\setAnonymousId(), ilTestSession\setUserId(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilTestPlayerAbstractGUI::executeCommand | ( | ) |
Definition at line 86 of file class.ilTestPlayerAbstractGUI.php.
References $id, ilTestServiceGUI\$test_sequence_factory, buildTestPassQuestionList(), checkReadAccess(), checkTestExecutable(), checkTestSessionUser(), ILIAS\Repository\ctrl(), ensureExistingTestSession(), exit, getCurrentSequenceElement(), ilTestServiceGUI\getObjectiveOrientedContainer(), getTestPlayerTitle(), handleCheckTestPassValid(), handlePasswordProtectionRedirect(), initAssessmentSettings(), iljQueryUtil\initjQuery(), initProcessLocker(), ilTestPlayerCommands\isTestExecutionCommand(), ILIAS\Repository\lng(), ILIAS\Repository\object(), populateQuestionOptionalMessage(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), ilTestPlayerLayoutProvider\TEST_PLAYER_KIOSK_MODE_ENABLED, ilTestPlayerLayoutProvider\TEST_PLAYER_SHORT_TITLE, ilTestPlayerLayoutProvider\TEST_PLAYER_TITLE, ilTestPlayerLayoutProvider\TEST_PLAYER_VIEW_TITLE, and ILIAS\Repository\user().
ilTestPlayerAbstractGUI::finishTestCmd | ( | ) |
Definition at line 981 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, buildFinishTestModal(), ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), ilTestServiceGUI\getObject(), handleCheckTestPassValid(), ILIAS\Repository\logger(), null, performTestPassFinishedTasks(), ilSession\set(), showQuestionCmd(), ILIAS\Test\Logging\TEST_RUN_FINISHED, and ILIAS\Repository\user().
|
protected |
Definition at line 3058 of file class.ilTestPlayerAbstractGUI.php.
References ilTestRandomQuestionSetBuilder\getInstance(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and performTearsAndAngerBrokenConfessionChecks().
Referenced by resumePlayerCmd(), and startTestCmd().
|
protected |
Definition at line 2675 of file class.ilTestPlayerAbstractGUI.php.
Referenced by autosaveCmd(), handleIntermediateSubmit(), and populateQuestionEditControl().
ilTestPlayerAbstractGUI::getContentBlockName | ( | ) |
Returns the name of the current content block (depends on the kiosk mode setting)
Definition at line 2053 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
Referenced by confirmSubmitAnswers(), displayAccessCodeCmd(), initTestPageTemplate(), outQuestionSummaryCmd(), populateHelperGuiContent(), populateMessageContent(), prepareSummaryPage(), redirectAfterFinish(), showFinalStatementCmd(), and showListOfAnswers().
|
protected |
Definition at line 856 of file class.ilTestPlayerAbstractGUI.php.
Referenced by autosaveCmd(), autosaveOnTimeLimitCmd(), detectChangesCmd(), and removeIntermediateSolution().
|
protected |
Definition at line 2614 of file class.ilTestPlayerAbstractGUI.php.
References getSequenceElementParameter().
Referenced by discardSolutionCmd(), executeCommand(), handleQuestionActionCmd(), markQuestionCmd(), nextQuestionCmd(), previousQuestionCmd(), showInstantResponseCmd(), showQuestionCmd(), showSideList(), skipQuestionCmd(), submitSolutionAndNextCmd(), submitSolutionCmd(), and unmarkQuestionCmd().
|
protected |
Definition at line 2450 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\FINISH_TEST, ILIAS\Repository\object(), and ilTestPlayerCommands\QUESTION_SUMMARY.
Referenced by getTestNavigationToolbarGUI().
|
protected |
Definition at line 2641 of file class.ilTestPlayerAbstractGUI.php.
Referenced by showQuestionCmd().
|
protected |
Definition at line 2275 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
ilTestPlayerAbstractGUI::getLockParameter | ( | ) |
Definition at line 717 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by handlePasswordProtectionRedirect(), and startPlayerCmd().
|
protected |
Definition at line 2661 of file class.ilTestPlayerAbstractGUI.php.
References ilUtil\_getHttpPath().
Referenced by showInstantResponseCmd(), and submitSolutionCmd().
|
protected |
Definition at line 2646 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by submitSolutionCmd().
|
protected |
Definition at line 2656 of file class.ilTestPlayerAbstractGUI.php.
Referenced by submitSolutionCmd().
|
private |
Definition at line 577 of file class.ilTestPlayerAbstractGUI.php.
References $id.
Referenced by buildNextButtonInstance(), and buildPreviousButtonInstance().
|
protected |
Definition at line 2632 of file class.ilTestPlayerAbstractGUI.php.
References null.
|
private |
Definition at line 2497 of file class.ilTestPlayerAbstractGUI.php.
References ilTemplate\get(), and ILIAS\Repository\lng().
Referenced by populateInstantResponseModal().
|
protected |
Definition at line 2706 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$tpl, initTestQuestionConfig(), and assQuestionGUI\PRESENTATION_CONTEXT_TEST.
Referenced by showQuestionCmd().
|
protected |
Definition at line 2733 of file class.ilTestPlayerAbstractGUI.php.
References initTestQuestionConfig(), assQuestion\instantiateQuestion(), and ILIAS\Repository\user().
Referenced by buildQuestionObject(), detectChangesCmd(), discardSolutionCmd(), and removeIntermediateSolution().
|
protected |
Definition at line 2907 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2922 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and null.
Referenced by isForcedFeedbackNavUrlRegistered(), and showQuestionCmd().
|
protected |
Definition at line 2623 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by getCurrentSequenceElement().
|
protected |
Definition at line 2362 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getFinishTestCommand(), and ILIAS\Repository\object().
Referenced by showQuestionCmd().
|
protected |
Definition at line 3142 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\buildExamId(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
Definition at line 3015 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by executeCommand(), finishTestCmd(), nextQuestionCmd(), and previousQuestionCmd().
|
protected |
Definition at line 2949 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), saveQuestionSolution(), ilTestPlayerCommands\SUBMIT_SOLUTION, and updateWorkingTime().
|
protected |
Definition at line 2685 of file class.ilTestPlayerAbstractGUI.php.
References getAnswerChangedParameter(), removeIntermediateSolution(), saveQuestionSolution(), and setAnswerChangedParameter().
Referenced by markQuestionAndSaveIntermediateCmd(), and unmarkQuestionAndSaveIntermediateCmd().
|
protected |
The test password is only checked once per session to avoid errors during autosave if the password is changed during a running test. See Mantis #22536 for more details.
Definition at line 2231 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getLockParameter(), and ilTestPlayerCommands\START_TEST.
Referenced by executeCommand().
|
protected |
Definition at line 3114 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object(), and ilTestNavigationToolbarGUI\setFinishTestButtonPrimary().
Referenced by showQuestionCmd().
|
protected |
Definition at line 2085 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), isParticipantsAnswerFixed(), saveQuestionSolution(), setAnswerChangedParameter(), ilTestPlayerCommands\SHOW_QUESTION, and updateWorkingTime().
|
protected |
Definition at line 3008 of file class.ilTestPlayerAbstractGUI.php.
Referenced by nextQuestionCmd().
|
protected |
ilTestSession | $test_session |
Definition at line 2288 of file class.ilTestPlayerAbstractGUI.php.
References buildTestPassQuestionList(), ilTestSession\getActiveId(), ilTestSession\getPass(), ilTestSession\getUserId(), ILIAS\Repository\logger(), ILIAS\Repository\object(), and ilTestSkillEvaluation\setUserId().
Referenced by save().
|
protected |
Definition at line 3108 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by showQuestionCmd().
|
protected |
Definition at line 2759 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\logger(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by showQuestionCmd().
ilTestPlayerAbstractGUI::handleUserSettings | ( | ) |
Handles some form parameters on starting and resuming a test.
Definition at line 813 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Referenced by resumePlayerCmd(), and startPlayerCmd().
|
protected |
Definition at line 2280 of file class.ilTestPlayerAbstractGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 283 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$db, and $ilDB.
Referenced by executeCommand().
|
protected |
Start a test for the first time after a redirect.
Definition at line 774 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerCommands\DISPLAY_ACCESS_CODE, and ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 2203 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\event(), ILIAS\Repository\form(), and getContentBlockName().
Referenced by prepareTestPage().
|
protected |
Definition at line 2752 of file class.ilTestPlayerAbstractGUI.php.
References assQuestion\getTestPresentationConfig(), and ILIAS\Repository\object().
Referenced by getQuestionGuiInstance(), and getQuestionInstance().
|
protected |
Definition at line 2075 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 2859 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and null.
Referenced by populateNextLocksChangedModal().
|
protected |
Definition at line 2935 of file class.ilTestPlayerAbstractGUI.php.
References getRegisteredForcedFeedbackNavUrl(), and null.
Referenced by isParticipantsAnswerFixed(), and showQuestionCmd().
|
protected |
Definition at line 2080 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateQuestionNavigation().
ilTestPlayerAbstractGUI::isMaxProcessingTimeReached | ( | ) |
Definition at line 439 of file class.ilTestPlayerAbstractGUI.php.
Referenced by canSaveResult(), isTestAccessible(), and prepareTestPage().
ilTestPlayerAbstractGUI::isNrOfTriesReached | ( | ) |
nr of tries exceeded
Definition at line 1734 of file class.ilTestPlayerAbstractGUI.php.
Referenced by canSaveResult(), isTestAccessible(), and saveQuestionSolution().
|
protected |
Definition at line 1190 of file class.ilTestPlayerAbstractGUI.php.
Referenced by prepareTestPage().
|
protected |
Definition at line 2259 of file class.ilTestPlayerAbstractGUI.php.
References isForcedFeedbackNavUrlRegistered(), and ILIAS\Repository\object().
Referenced by autosaveCmd(), autosaveOnTimeLimitCmd(), buildQuestionObject(), buildReadOnlyStateQuestionNavigationGUI(), handleQuestionActionCmd(), populateQuestionEditControl(), showInstantResponseCmd(), and showQuestionCmd().
|
protected |
Definition at line 1205 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateInstantResponseModal(), showQuestionEditable(), and showQuestionViewable().
ilTestPlayerAbstractGUI::isTestAccessible | ( | ) |
test accessible returns true if the user can perform the test
Definition at line 1723 of file class.ilTestPlayerAbstractGUI.php.
References isMaxProcessingTimeReached(), and isNrOfTriesReached().
|
private |
Definition at line 2961 of file class.ilTestPlayerAbstractGUI.php.
Referenced by nextQuestionCmd(), previousQuestionCmd(), showQuestionCmd(), skipQuestionCmd(), and submitSolutionAndNextCmd().
|
protected |
Definition at line 939 of file class.ilTestPlayerAbstractGUI.php.
References handleIntermediateSubmit(), and markQuestionCmd().
|
protected |
Set a question solved.
Definition at line 948 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by markQuestionAndSaveIntermediateCmd().
ilTestPlayerAbstractGUI::max_processing_time_reached | ( | ) |
Outputs a message when the maximum processing time is reached.
Outputs a message when the maximum processing time is reached
public
Definition at line 1761 of file class.ilTestPlayerAbstractGUI.php.
References suspendTestCmd().
Referenced by prepareTestPage().
|
protected |
Definition at line 2133 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), getCurrentSequenceElement(), ilTestServiceGUI\getObject(), handleCheckTestPassValid(), handleQuestionPostponing(), isValidSequenceElement(), ILIAS\Repository\logger(), ILIAS\Repository\object(), ilTestPlayerCommands\SHOW_QUESTION, and ILIAS\Repository\user().
ilTestPlayerAbstractGUI::outCorrectSolution | ( | ) |
Creates an output of the solution of an answer compared to the correct solution.
Definition at line 1940 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getCorrectSolutionOutput(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
private |
Definition at line 1789 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilTestServiceGUI\getObject(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Test\Presentation\WorkingTime\prepareWorkingTimeJsTemplate(), and ilTestPlayerCommands\REDIRECT_AFTER_QUESTION_LIST.
Referenced by outQuestionSummaryCmd(), and prepareTestPage().
ilTestPlayerAbstractGUI::outQuestionSummaryCmd | ( | ) |
Output of a summary of all test questions for test participants.
Definition at line 1879 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getContentBlockName(), ilTestServiceGUI\getObject(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), ILIAS\Repository\object(), outProcessingTime(), and ilTestPlayerLayoutProvider\TEST_PLAYER_VIEW_TITLE.
ilTestPlayerAbstractGUI::outUserResultsOverviewCmd | ( | ) |
Definition at line 2066 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 3034 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
Referenced by generateRandomTestPassForActiveUser().
|
protected |
Definition at line 1015 of file class.ilTestPlayerAbstractGUI.php.
References sendNewPassFinishedNotificationEmailIfActivated().
Referenced by finishTestCmd(), redirectAfterAutosaveCmd(), and redirectAfterQuestionListCmd().
|
protected |
Definition at line 666 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getContentStylePath().
Referenced by prepareTestPage().
|
protected |
Definition at line 2797 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerCommands\DISCARD_SOLUTION, and ILIAS\Repository\lng().
Referenced by populateModals().
|
protected |
Definition at line 2593 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 2606 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 613 of file class.ilTestPlayerAbstractGUI.php.
References ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG, and assQuestionGUI\getGenericFeedbackOutput().
Referenced by populateInstantResponseBlocks().
|
protected |
$helperGui |
Definition at line 2357 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and getContentBlockName().
Referenced by showAnswerOptionalQuestionsConfirmation().
|
protected |
Definition at line 2516 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getPass(), determineInlineScoreDisplay(), assQuestionGUI\getObject(), assQuestionGUI\getSolutionOutput(), assQuestionGUI\hasInlineFeedback(), ILIAS\Repository\lng(), ILIAS\Repository\object(), populateFeedbackBlockHeader(), populateFeedbackBlockMessage(), populateGenericFeedbackBlock(), populateScoreBlock(), populateSolutionBlock(), and populateSpecificFeedbackBlock().
Referenced by populateInstantResponseModal(), and showQuestionCmd().
|
protected |
Definition at line 2459 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$tpl, assQuestionGUI\getObject(), getQuestionFeedbackModalHtml(), assQuestionGUI\getQuestionHeaderBlockBuilder(), assQuestionGUI\getSolutionOutput(), isShowingPostponeStatusReguired(), null, assQuestionGUI\outQuestionPage(), populateInstantResponseBlocks(), assQuestionGUI\setNavigationGUI(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by showQuestionCmd().
|
protected |
Definition at line 503 of file class.ilTestPlayerAbstractGUI.php.
References buildNextButtonInstance().
Referenced by populateNextButtons().
|
protected |
Definition at line 521 of file class.ilTestPlayerAbstractGUI.php.
References buildPreviousButtonInstance().
Referenced by populatePreviousButtons().
|
protected |
Definition at line 2772 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName(), and ILIAS\Repository\object().
|
protected |
Definition at line 2785 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object(), populateDiscardSolutionModal(), populateNextLocksChangedModal(), and populateNextLocksUnchangedModal().
Referenced by showQuestionEditable().
|
protected |
Definition at line 497 of file class.ilTestPlayerAbstractGUI.php.
References populateLowerNextButtonBlock(), and populateUpperNextButtonBlock().
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 2825 of file class.ilTestPlayerAbstractGUI.php.
References isFollowUpQuestionLocksConfirmationPrevented(), and ILIAS\Repository\lng().
Referenced by populateModals().
|
protected |
Definition at line 2811 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateModals().
|
protected |
Definition at line 491 of file class.ilTestPlayerAbstractGUI.php.
References populateLowerPreviousButtonBlock(), and populateUpperPreviousButtonBlock().
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 2868 of file class.ilTestPlayerAbstractGUI.php.
References $modal_signals, ilTestPlayerCommands\AUTO_SAVE, ilTestPlayerCommands\AUTO_SAVE_ON_TIME_LIMIT, ILIAS\Repository\ctrl(), ilTestPlayerCommands\DETECT_CHANGES, getAnswerChangedParameter(), ILIAS\UI\Component\Signal\getId(), assQuestionGUI\getObject(), isParticipantsAnswerFixed(), and ILIAS\Repository\lng().
Referenced by showQuestionEditable(), and showQuestionViewable().
|
protected |
Definition at line 480 of file class.ilTestPlayerAbstractGUI.php.
References isFirstQuestionInSequence(), isLastQuestionInSequence(), populateNextButtons(), and populatePreviousButtons().
Referenced by showQuestionCmd().
|
abstractprotected |
|
protected |
Definition at line 633 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 646 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 590 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), assQuestionGUI\getSpecificFeedbackOutput(), and null.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 656 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getSyntaxStylePath().
Referenced by prepareTestPage().
|
protected |
Definition at line 460 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by showQuestionCmd().
|
protected |
Definition at line 512 of file class.ilTestPlayerAbstractGUI.php.
References buildNextButtonInstance().
Referenced by populateNextButtons().
|
protected |
Definition at line 530 of file class.ilTestPlayerAbstractGUI.php.
References buildPreviousButtonInstance().
Referenced by populatePreviousButtons().
|
protected |
Definition at line 2193 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName().
|
protected |
Definition at line 1134 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), endingTimeReached(), initTestPageTemplate(), isMaxProcessingTimeReached(), isOptionalQuestionAnsweringConfirmationRequired(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), max_processing_time_reached(), ILIAS\Repository\object(), outProcessingTime(), populateContentStyleBlock(), populateSyntaxStyleBlock(), ilTestPlayerCommands\RESUME_PLAYER, showAnswerOptionalQuestionsConfirmation(), showSideList(), and ILIAS\Repository\user().
Referenced by showQuestionCmd().
|
protected |
Definition at line 2175 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), handleCheckTestPassValid(), isValidSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::redirectAfterAutosaveCmd | ( | ) |
Redirect the user after an automatic save when the time limit is reached.
ilTestException |
Definition at line 833 of file class.ilTestPlayerAbstractGUI.php.
References performTestPassFinishedTasks(), and redirectAfterFinish().
|
protected |
Definition at line 847 of file class.ilTestPlayerAbstractGUI.php.
References $url, ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, ILIAS\Repository\ctrl(), getContentBlockName(), and ILIAS\Repository\lng().
Referenced by redirectAfterAutosaveCmd(), and redirectAfterQuestionListCmd().
ilTestPlayerAbstractGUI::redirectAfterQuestionListCmd | ( | ) |
Definition at line 840 of file class.ilTestPlayerAbstractGUI.php.
References performTestPassFinishedTasks(), and redirectAfterFinish().
ilTestPlayerAbstractGUI::redirectBackCmd | ( | ) |
Definition at line 1090 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestServiceGUI\getObjectiveOrientedContainer().
Referenced by afterTestPassFinishedCmd(), and endingTimeReached().
|
protected |
Definition at line 2912 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), null, and ilSession\set().
Referenced by showInstantResponseCmd().
ilTestPlayerAbstractGUI::removeIntermediateSolution | ( | ) |
Definition at line 322 of file class.ilTestPlayerAbstractGUI.php.
References getCurrentQuestionId(), and getQuestionInstance().
Referenced by handleIntermediateSubmit(), revertChangesCmd(), showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 726 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), generateRandomTestPassForActiveUser(), handleUserSettings(), null, ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 1546 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), removeIntermediateSolution(), setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
private |
Definition at line 393 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ilObjTest\_getPass(), assQuestion\answerToParticipantInteraction(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObject(), handleSkillTriggering(), ILIAS\Repository\logger(), null, ILIAS\Repository\object(), and assQuestion\persistWorkingState().
Referenced by saveQuestionSolution().
|
protected |
Definition at line 2695 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\set().
Referenced by showInstantResponseCmd(), and submitSolutionCmd().
ilTestPlayerAbstractGUI::saveQuestionSolution | ( | bool | $authorized = true , |
bool | $force = false |
||
) |
Definition at line 332 of file class.ilTestPlayerAbstractGUI.php.
References buildQuestionObject(), canSaveResult(), ILIAS\Repository\ctrl(), ilSession\get(), isNrOfTriesReached(), null, save(), ilSession\set(), updateWorkingTime(), and ILIAS\TestQuestionPool\Questions\Question\validateSolutionSubmit().
Referenced by autosaveCmd(), autosaveOnTimeLimitCmd(), handleFileUploadCmd(), handleIntermediateSubmit(), handleQuestionActionCmd(), showInstantResponseCmd(), submitIntermediateSolutionCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
ilTestPlayerAbstractGUI::saveTagsCmd | ( | ) |
Save tags for tagging gui.
Needed this function here because the test info page uses another class to send its form results
Definition at line 296 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
|
protected |
Definition at line 1030 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
Referenced by performTestPassFinishedTasks().
ilTestPlayerAbstractGUI::setAnonymousIdCmd | ( | ) |
Sets a session variable with the test access code for an anonymous test user.
Sets a session variable with the test access code for an anonymous test user
Definition at line 681 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2680 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
Referenced by handleIntermediateSubmit(), handleQuestionActionCmd(), revertChangesCmd(), showInstantResponseCmd(), and submitIntermediateSolutionCmd().
|
protected |
Definition at line 2854 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\set().
|
protected |
Definition at line 2321 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and populateHelperGuiContent().
Referenced by prepareTestPage().
ilTestPlayerAbstractGUI::showFinalStatementCmd | ( | ) |
Definition at line 1110 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, ILIAS\Repository\ctrl(), getContentBlockName(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilTestPlayerLayoutProvider\TEST_PLAYER_VIEW_TITLE.
|
protected |
Definition at line 2102 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), getNavigationUrlParameter(), isParticipantsAnswerFixed(), ILIAS\Repository\object(), registerForcedFeedbackNavUrl(), removeIntermediateSolution(), saveNavigationPreventConfirmation(), saveQuestionSolution(), setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::showListOfAnswers | ( | $active_id, | |
$pass = null , |
|||
$top_data = "" , |
|||
$bottom_data = "" |
|||
) |
Creates an output of the list of answers for a test participant during the test (only the actual pass will be shown)
integer | $active_id | Active id of the participant |
integer | $pass | Test pass of the participant |
boolean | $testnavigation | Deceides wheather to show a navigation for tests or not public |
Definition at line 1976 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), getContentBlockName(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getResultsSignature(), ilUtil\getStyleSheetLocation(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 1339 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), getCurrentSequenceElement(), ilLOTestQuestionAdapter\getInstance(), getInstantResponseParameter(), ilTestServiceGUI\getObject(), getQuestionGuiInstance(), getRegisteredForcedFeedbackNavUrl(), getTestNavigationToolbarGUI(), handlePrimaryButton(), handleTearsAndAngerNoObjectiveOrientedQuestion(), handleTearsAndAngerQuestionIsNull(), ILIAS\Repository\help(), isForcedFeedbackNavUrlRegistered(), isParticipantsAnswerFixed(), isValidSequenceElement(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), null, ILIAS\Repository\object(), populateInstantResponseBlocks(), populateInstantResponseModal(), populateQuestionNavigation(), populateQuestionOptionalMessage(), populateTestNavigationToolbar(), prepareTestPage(), PRESENTATION_MODE_EDIT, PRESENTATION_MODE_VIEW, ilSession\set(), showQuestionEditable(), showQuestionViewable(), ilTestPlayerCommands\SUBMIT_INTERMEDIATE_SOLUTION, unregisterForcedFeedbackNavUrl(), and ILIAS\Repository\user().
Referenced by finishTestCmd().
|
protected |
Definition at line 1254 of file class.ilTestPlayerAbstractGUI.php.
References buildEditableStateQuestionNavigationGUI(), ilSession\clear(), ILIAS\Repository\ctrl(), determineSolutionPassIndex(), ilSession\get(), assQuestionGUI\getObject(), assQuestionGUI\getQuestionHeaderBlockBuilder(), isShowingPostponeStatusReguired(), null, ILIAS\Repository\object(), assQuestionGUI\outQuestionForTest(), populateModals(), populateQuestionEditControl(), assQuestionGUI\setNavigationGUI(), and ilTestPlayerCommands\SKIP_QUESTION.
Referenced by showQuestionCmd().
|
protected |
Definition at line 1210 of file class.ilTestPlayerAbstractGUI.php.
References buildReadOnlyStateQuestionNavigationGUI(), assQuestionGUI\getFormEncodingType(), assQuestionGUI\getObject(), assQuestionGUI\getQuestionHeaderBlockBuilder(), assQuestionGUI\getSolutionOutput(), isShowingPostponeStatusReguired(), ILIAS\Repository\lng(), assQuestionGUI\outQuestionPage(), populateQuestionEditControl(), and assQuestionGUI\setNavigationGUI().
Referenced by showQuestionCmd().
|
protected |
Definition at line 1828 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), ILIAS\UI\Component\Listing\Workflow\Step\IN_PROGRESS, ILIAS\Repository\lng(), ILIAS\UI\Component\Listing\Workflow\Step\NOT_STARTED, null, PRESENTATION_MODE_VIEW, ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerLayoutProvider\TEST_PLAYER_QUESTIONLIST.
Referenced by prepareTestPage().
|
protected |
Definition at line 1590 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), getCurrentSequenceElement(), ilTestServiceGUI\getObject(), isValidSequenceElement(), ILIAS\Repository\logger(), ILIAS\Repository\object(), ilTestPlayerCommands\SHOW_QUESTION, and ILIAS\Repository\user().
|
protected |
Start a test for the first time.
Start a test for the first time. This method contains a lock to prevent multiple submissions by the start test button
Definition at line 696 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getLockParameter(), handleUserSettings(), and ilTestPlayerCommands\INIT_TEST.
|
protected |
Definition at line 1624 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, adoptUserSolutionsFromPreviousPass(), ILIAS\Repository\ctrl(), generateRandomTestPassForActiveUser(), ilSession\get(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObject(), ilTestServiceGUI\getObjectiveOrientedContainer(), ILIAS\Repository\logger(), null, ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), ilTestPlayerCommands\SHOW_QUESTION, updateLearningProgressOnTestStart(), and ILIAS\Repository\user().
|
protected |
Definition at line 930 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), saveQuestionSolution(), setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 2978 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), isValidSequenceElement(), ILIAS\Repository\object(), removeIntermediateSolution(), saveQuestionSolution(), ilTestPlayerCommands\SHOW_QUESTION, and submitSolutionCmd().
|
protected |
Definition at line 1501 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), getNavigationUrlParameter(), getNextCommandParameter(), getNextSequenceParameter(), ILIAS\Repository\object(), PRESENTATION_MODE_VIEW, ilUtil\redirect(), removeIntermediateSolution(), saveNavigationPreventConfirmation(), saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by submitSolutionAndNextCmd().
ilTestPlayerAbstractGUI::suspendTestCmd | ( | ) |
Definition at line 434 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
Referenced by max_processing_time_reached().
|
protected |
Definition at line 959 of file class.ilTestPlayerAbstractGUI.php.
References handleIntermediateSubmit(), and unmarkQuestionCmd().
|
protected |
Set a question unsolved.
Definition at line 970 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by unmarkQuestionAndSaveIntermediateCmd().
|
protected |
Definition at line 2940 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by showQuestionCmd().
|
protected |
Definition at line 2956 of file class.ilTestPlayerAbstractGUI.php.
References ilLPStatusWrapper\_updateStatus(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by startTestCmd().
ilTestPlayerAbstractGUI::updateWorkingTime | ( | ) |
updates working time and stores state saveresult to see if question has to be stored or not
Definition at line 307 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), null, ILIAS\Repository\object(), and ilSession\set().
Referenced by handleFileUploadCmd(), handleQuestionActionCmd(), and saveQuestionSolution().
Definition at line 63 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 53 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 58 of file class.ilTestPlayerAbstractGUI.php.
bool ilTestPlayerAbstractGUI::$ending_time_reached |
Definition at line 47 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 67 of file class.ilTestPlayerAbstractGUI.php.
bool ilTestPlayerAbstractGUI::$max_processing_time_reached |
Definition at line 46 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 77 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateQuestionEditControl().
|
protected |
Definition at line 60 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 61 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 65 of file class.ilTestPlayerAbstractGUI.php.
int ilTestPlayerAbstractGUI::$ref_id |
Definition at line 48 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 64 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 62 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 69 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 42 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
Definition at line 44 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
Definition at line 2852 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 70 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 71 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_EDIT = 'edit' |
Definition at line 40 of file class.ilTestPlayerAbstractGUI.php.
Referenced by editSolutionCmd(), and showQuestionCmd().
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_VIEW = 'view' |
Definition at line 39 of file class.ilTestPlayerAbstractGUI.php.
Referenced by discardSolutionCmd(), showQuestionCmd(), showSideList(), and submitSolutionCmd().