ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
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... | |
redirectAfterDashboardCmd () | |
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... | |
outProcessingTime (int $active_id) | |
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) | |
getQuestionFeedbackModalHtml (ilTemplate $tpl, string $nav_url) | |
isValidSequenceElement ($sequence_element) | |
Private Attributes | |
array | $cached_question_guis = [] |
array | $cached_question_objects = [] |
Definition at line 36 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::__construct | ( | ilObjTest | $object | ) |
Definition at line 78 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilTestPlayerAbstractGUI::accessCodeConfirmedCmd | ( | ) |
Definition at line 810 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 3202 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\user().
Referenced by startTestCmd().
|
protected |
Definition at line 1051 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), ilUtil\redirect(), 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 870 of file class.ilTestPlayerAbstractGUI.php.
References 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 900 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentQuestionId(), isParticipantsAnswerFixed(), ilTestPlayerCommands\REDIRECT_ON_TIME_LIMIT, and saveQuestionSolution().
ilTestPlayerAbstractGUI::backFromFinishingCmd | ( | ) |
Definition at line 2004 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 2504 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getSolvedQuestions(), ilTestPlayerCommands\CONFIRM_HINT_REQUEST, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTestPlayerCommands\MARK_QUESTION_SAVE, ILIAS\Repository\object(), ilTestPlayerCommands\REVERT_CHANGES, ilTestPlayerCommands\SHOW_INSTANT_RESPONSE, ilTestPlayerCommands\SHOW_REQUESTED_HINTS_LIST, ilTestPlayerCommands\SUBMIT_SOLUTION, and ilTestPlayerCommands\UNMARK_QUESTION_SAVE.
Referenced by showQuestionEditable().
ilTestPlayerAbstractGUI::buildFinishTestModal | ( | ) |
Definition at line 1078 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 552 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 573 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getOnLoadCodeForNavigationButtons(), ILIAS\Repository\lng(), ilTestPlayerCommands\PREVIOUS_QUESTION, and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by populateLowerPreviousButtonBlock(), and populateUpperPreviousButtonBlock().
|
private |
Definition at line 386 of file class.ilTestPlayerAbstractGUI.php.
References getQuestionInstance(), isParticipantsAnswerFixed(), and null.
Referenced by saveQuestionSolution().
|
protected |
Definition at line 2470 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 2442 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
|
protected |
Definition at line 438 of file class.ilTestPlayerAbstractGUI.php.
References isMaxProcessingTimeReached(), and isNrOfTriesReached().
Referenced by autosaveCmd(), and saveQuestionSolution().
|
protected |
Definition at line 239 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
Definition at line 256 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
|
protected |
Definition at line 266 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 1895 of file class.ilTestPlayerAbstractGUI.php.
References exit.
|
protected |
Definition at line 2433 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Go to hint request confirmation.
Definition at line 2163 of file class.ilTestPlayerAbstractGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, ILIAS\Repository\ctrl(), and handleIntermediateSubmit().
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 1777 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 915 of file class.ilTestPlayerAbstractGUI.php.
References exit, getCurrentQuestionId(), and getQuestionInstance().
|
protected |
Definition at line 459 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 1318 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), and ILIAS\Repository\object().
Referenced by showQuestionEditable().
|
protected |
Definition at line 1562 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 798 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\ACCESS_CODE_CONFIRMED, ILIAS\Repository\ctrl(), getContentBlockName(), and ILIAS\Repository\lng().
|
protected |
Definition at line 1502 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::endingTimeReached | ( | ) |
handle endingTimeReached
Definition at line 1750 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 273 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 85 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$test_sequence_factory, buildTestPassQuestionList(), checkReadAccess(), checkTestExecutable(), checkTestSessionUser(), ILIAS\Repository\ctrl(), ensureExistingTestSession(), exit, getAnswerChangedParameter(), getCurrentSequenceElement(), ilTestServiceGUI\getObjectiveOrientedContainer(), getTestPlayerTitle(), handlePasswordProtectionRedirect(), initAssessmentSettings(), iljQueryUtil\initjQuery(), initProcessLocker(), ilTestPlayerCommands\isTestExecutionCommand(), ILIAS\Repository\lng(), ILIAS\Repository\object(), populateQuestionOptionalMessage(), setAnswerChangedParameter(), ILIAS\Repository\settings(), ilTestPlayerCommands\SHOW_QUESTION, 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 982 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 3165 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 2790 of file class.ilTestPlayerAbstractGUI.php.
Referenced by autosaveCmd(), executeCommand(), handleIntermediateSubmit(), and populateQuestionEditControl().
ilTestPlayerAbstractGUI::getContentBlockName | ( | ) |
Returns the name of the current content block (depends on the kiosk mode setting)
Definition at line 2125 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 861 of file class.ilTestPlayerAbstractGUI.php.
Referenced by autosaveCmd(), autosaveOnTimeLimitCmd(), detectChangesCmd(), and removeIntermediateSolution().
|
protected |
Definition at line 2729 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 2565 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\FINISH_TEST, ILIAS\Repository\object(), and ilTestPlayerCommands\QUESTION_SUMMARY.
Referenced by getTestNavigationToolbarGUI().
|
protected |
Definition at line 2756 of file class.ilTestPlayerAbstractGUI.php.
Referenced by showQuestionCmd().
|
protected |
Definition at line 2374 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
ilTestPlayerAbstractGUI::getLockParameter | ( | ) |
Definition at line 722 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by handlePasswordProtectionRedirect(), and startPlayerCmd().
|
protected |
Definition at line 2776 of file class.ilTestPlayerAbstractGUI.php.
References ilUtil\_getHttpPath().
Referenced by showInstantResponseCmd(), and submitSolutionCmd().
|
protected |
Definition at line 2761 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by submitSolutionCmd().
|
protected |
Definition at line 2771 of file class.ilTestPlayerAbstractGUI.php.
Referenced by submitSolutionCmd().
|
private |
Definition at line 583 of file class.ilTestPlayerAbstractGUI.php.
References $id.
Referenced by buildNextButtonInstance(), and buildPreviousButtonInstance().
|
protected |
Definition at line 2747 of file class.ilTestPlayerAbstractGUI.php.
References null.
|
private |
Definition at line 2612 of file class.ilTestPlayerAbstractGUI.php.
References ilTemplate\get(), and ILIAS\Repository\lng().
Referenced by populateInstantResponseModal().
|
protected |
Definition at line 2821 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$tpl, initTestQuestionConfig(), and assQuestionGUI\PRESENTATION_CONTEXT_TEST.
Referenced by showQuestionCmd().
|
protected |
Definition at line 2848 of file class.ilTestPlayerAbstractGUI.php.
References initTestQuestionConfig(), assQuestion\instantiateQuestion(), and ILIAS\Repository\user().
Referenced by buildQuestionObject(), detectChangesCmd(), discardSolutionCmd(), and removeIntermediateSolution().
|
protected |
Definition at line 3022 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 3037 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and null.
Referenced by isForcedFeedbackNavUrlRegistered(), and showQuestionCmd().
|
protected |
Definition at line 2738 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by getCurrentSequenceElement().
|
protected |
Definition at line 2461 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getFinishTestCommand(), and ILIAS\Repository\object().
Referenced by showQuestionCmd().
|
protected |
Definition at line 3249 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 3130 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by finishTestCmd(), nextQuestionCmd(), and previousQuestionCmd().
|
protected |
Definition at line 3064 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), saveQuestionSolution(), ilTestPlayerCommands\SUBMIT_SOLUTION, and updateWorkingTime().
|
protected |
Definition at line 2800 of file class.ilTestPlayerAbstractGUI.php.
References getAnswerChangedParameter(), removeIntermediateSolution(), saveQuestionSolution(), and setAnswerChangedParameter().
Referenced by confirmHintRequestCmd(), markQuestionAndSaveIntermediateCmd(), showRequestedHintListCmd(), 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 2330 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getLockParameter(), and ilTestPlayerCommands\START_TEST.
Referenced by executeCommand().
|
protected |
Definition at line 3221 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object(), and ilTestNavigationToolbarGUI\setFinishTestButtonPrimary().
Referenced by showQuestionCmd().
|
protected |
Definition at line 2184 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), isParticipantsAnswerFixed(), saveQuestionSolution(), setAnswerChangedParameter(), ilTestPlayerCommands\SHOW_QUESTION, and updateWorkingTime().
|
protected |
Definition at line 3123 of file class.ilTestPlayerAbstractGUI.php.
Referenced by nextQuestionCmd().
|
protected |
ilTestSession | $test_session |
Definition at line 2387 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 3215 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by showQuestionCmd().
|
protected |
Definition at line 2874 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 818 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 2379 of file class.ilTestPlayerAbstractGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 292 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 779 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerCommands\DISPLAY_ACCESS_CODE, and ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 2302 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\event(), ILIAS\Repository\form(), and getContentBlockName().
Referenced by prepareTestPage().
|
protected |
Definition at line 2867 of file class.ilTestPlayerAbstractGUI.php.
References assQuestion\getTestPresentationConfig(), and ILIAS\Repository\object().
Referenced by getQuestionGuiInstance(), and getQuestionInstance().
|
protected |
Definition at line 2174 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 2974 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and null.
Referenced by populateNextLocksChangedModal().
|
protected |
Definition at line 3050 of file class.ilTestPlayerAbstractGUI.php.
References getRegisteredForcedFeedbackNavUrl(), and null.
Referenced by isParticipantsAnswerFixed(), and showQuestionCmd().
|
protected |
Definition at line 2179 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateQuestionNavigation().
ilTestPlayerAbstractGUI::isMaxProcessingTimeReached | ( | ) |
Definition at line 448 of file class.ilTestPlayerAbstractGUI.php.
Referenced by canSaveResult(), isTestAccessible(), and prepareTestPage().
ilTestPlayerAbstractGUI::isNrOfTriesReached | ( | ) |
nr of tries exceeded
Definition at line 1740 of file class.ilTestPlayerAbstractGUI.php.
Referenced by canSaveResult(), isTestAccessible(), and saveQuestionSolution().
|
protected |
Definition at line 1197 of file class.ilTestPlayerAbstractGUI.php.
Referenced by prepareTestPage().
|
protected |
Definition at line 2358 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 1212 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 1729 of file class.ilTestPlayerAbstractGUI.php.
References isMaxProcessingTimeReached(), and isNrOfTriesReached().
|
private |
Definition at line 3076 of file class.ilTestPlayerAbstractGUI.php.
Referenced by nextQuestionCmd(), previousQuestionCmd(), showQuestionCmd(), skipQuestionCmd(), and submitSolutionAndNextCmd().
|
protected |
Definition at line 940 of file class.ilTestPlayerAbstractGUI.php.
References handleIntermediateSubmit(), and markQuestionCmd().
|
protected |
Set a question solved.
Definition at line 949 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 1767 of file class.ilTestPlayerAbstractGUI.php.
References suspendTestCmd().
Referenced by prepareTestPage().
|
protected |
Definition at line 2232 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 2012 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getCorrectSolutionOutput(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilTestPlayerAbstractGUI::outProcessingTime | ( | int | $active_id | ) |
Definition at line 1795 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), IL_CAL_FKT_GETDATE, IL_CAL_TIMESTAMP, IL_CAL_UNIX, iljQueryUtil\initjQuery(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by outQuestionSummaryCmd(), and prepareTestPage().
ilTestPlayerAbstractGUI::outQuestionSummaryCmd | ( | ) |
Output of a summary of all test questions for test participants.
Definition at line 1953 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 2138 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 3141 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
Referenced by generateRandomTestPassForActiveUser().
|
protected |
Definition at line 1016 of file class.ilTestPlayerAbstractGUI.php.
References null, and sendNewPassFinishedNotificationEmailIfActivated().
Referenced by finishTestCmd(), redirectAfterAutosaveCmd(), and redirectAfterDashboardCmd().
|
protected |
Definition at line 671 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getContentStylePath().
Referenced by prepareTestPage().
|
protected |
Definition at line 2912 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerCommands\DISCARD_SOLUTION, and ILIAS\Repository\lng().
Referenced by populateModals().
|
protected |
Definition at line 2708 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 2721 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 618 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 2456 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and getContentBlockName().
Referenced by showAnswerOptionalQuestionsConfirmation().
|
protected |
Definition at line 2631 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 2574 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 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 2887 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName(), and ILIAS\Repository\object().
|
protected |
Definition at line 2900 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object(), populateDiscardSolutionModal(), populateNextLocksChangedModal(), and populateNextLocksUnchangedModal().
Referenced by showQuestionEditable().
|
protected |
Definition at line 506 of file class.ilTestPlayerAbstractGUI.php.
References populateLowerNextButtonBlock(), and populateUpperNextButtonBlock().
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 2940 of file class.ilTestPlayerAbstractGUI.php.
References isFollowUpQuestionLocksConfirmationPrevented(), and ILIAS\Repository\lng().
Referenced by populateModals().
|
protected |
Definition at line 2926 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateModals().
|
protected |
Definition at line 500 of file class.ilTestPlayerAbstractGUI.php.
References populateLowerPreviousButtonBlock(), and populateUpperPreviousButtonBlock().
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 2983 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 489 of file class.ilTestPlayerAbstractGUI.php.
References isFirstQuestionInSequence(), isLastQuestionInSequence(), populateNextButtons(), and populatePreviousButtons().
Referenced by showQuestionCmd().
|
abstractprotected |
|
protected |
Definition at line 638 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 651 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 595 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), assQuestionGUI\getSpecificFeedbackOutput(), and null.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 661 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getSyntaxStylePath().
Referenced by prepareTestPage().
|
protected |
Definition at line 469 of file class.ilTestPlayerAbstractGUI.php.
References null.
Referenced by showQuestionCmd().
|
protected |
Definition at line 521 of file class.ilTestPlayerAbstractGUI.php.
References buildNextButtonInstance().
Referenced by populateNextButtons().
|
protected |
Definition at line 539 of file class.ilTestPlayerAbstractGUI.php.
References buildPreviousButtonInstance().
Referenced by populatePreviousButtons().
|
protected |
Definition at line 2292 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName().
|
protected |
Definition at line 1141 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 2274 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 838 of file class.ilTestPlayerAbstractGUI.php.
References performTestPassFinishedTasks(), and redirectAfterFinish().
ilTestPlayerAbstractGUI::redirectAfterDashboardCmd | ( | ) |
Definition at line 845 of file class.ilTestPlayerAbstractGUI.php.
References performTestPassFinishedTasks(), and redirectAfterFinish().
|
protected |
Definition at line 852 of file class.ilTestPlayerAbstractGUI.php.
References $url, ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, ILIAS\Repository\ctrl(), getContentBlockName(), and ILIAS\Repository\lng().
Referenced by redirectAfterAutosaveCmd(), and redirectAfterDashboardCmd().
ilTestPlayerAbstractGUI::redirectBackCmd | ( | ) |
Definition at line 1097 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestServiceGUI\getObjectiveOrientedContainer().
Referenced by afterTestPassFinishedCmd(), and endingTimeReached().
|
protected |
Definition at line 3027 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), null, and ilSession\set().
Referenced by showInstantResponseCmd().
ilTestPlayerAbstractGUI::removeIntermediateSolution | ( | ) |
Definition at line 331 of file class.ilTestPlayerAbstractGUI.php.
References getCurrentQuestionId(), and getQuestionInstance().
Referenced by handleIntermediateSubmit(), revertChangesCmd(), showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 731 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 1553 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), removeIntermediateSolution(), setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
private |
Definition at line 402 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 2810 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\set().
Referenced by showInstantResponseCmd(), and submitSolutionCmd().
ilTestPlayerAbstractGUI::saveQuestionSolution | ( | bool | $authorized = true , |
bool | $force = false |
||
) |
Definition at line 341 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 305 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
|
protected |
Definition at line 1031 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 686 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2795 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand(), handleIntermediateSubmit(), handleQuestionActionCmd(), revertChangesCmd(), showInstantResponseCmd(), and submitIntermediateSolutionCmd().
|
protected |
Definition at line 2969 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\set().
|
protected |
Definition at line 2420 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 1117 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 2201 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 2048 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 1346 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 1261 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 1217 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 |
Go to requested hint list.
Definition at line 2149 of file class.ilTestPlayerAbstractGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, ILIAS\Repository\ctrl(), and handleIntermediateSubmit().
|
protected |
Definition at line 1902 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, ilLegacyFormElementsUtil\prepareFormOutput(), PRESENTATION_MODE_VIEW, ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerLayoutProvider\TEST_PLAYER_QUESTIONLIST.
Referenced by prepareTestPage().
|
protected |
Definition at line 1597 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 701 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getLockParameter(), handleUserSettings(), and ilTestPlayerCommands\INIT_TEST.
|
protected |
Definition at line 1631 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 931 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), saveQuestionSolution(), setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 3093 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 1508 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 443 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
Referenced by max_processing_time_reached().
|
protected |
Definition at line 960 of file class.ilTestPlayerAbstractGUI.php.
References handleIntermediateSubmit(), and unmarkQuestionCmd().
|
protected |
Set a question unsolved.
Definition at line 971 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), getCurrentSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by unmarkQuestionAndSaveIntermediateCmd().
|
protected |
Definition at line 3055 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by showQuestionCmd().
|
protected |
Definition at line 3071 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 316 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), null, ILIAS\Repository\object(), and ilSession\set().
Referenced by handleFileUploadCmd(), handleQuestionActionCmd(), and saveQuestionSolution().
Definition at line 62 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 52 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 57 of file class.ilTestPlayerAbstractGUI.php.
bool ilTestPlayerAbstractGUI::$ending_time_reached |
Definition at line 46 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 66 of file class.ilTestPlayerAbstractGUI.php.
bool ilTestPlayerAbstractGUI::$max_processing_time_reached |
Definition at line 45 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 76 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateQuestionEditControl().
|
protected |
Definition at line 59 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 60 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 64 of file class.ilTestPlayerAbstractGUI.php.
int ilTestPlayerAbstractGUI::$ref_id |
Definition at line 47 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 63 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 61 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 68 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 41 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
Definition at line 43 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
Definition at line 2967 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 69 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 70 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_EDIT = 'edit' |
Definition at line 39 of file class.ilTestPlayerAbstractGUI.php.
Referenced by editSolutionCmd(), and showQuestionCmd().
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_VIEW = 'view' |
Definition at line 38 of file class.ilTestPlayerAbstractGUI.php.
Referenced by discardSolutionCmd(), showQuestionCmd(), showSideList(), and submitSolutionCmd().