|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Output class for assessment test execution. More...
Inheritance diagram for ilTestOutputGUI:
Collaboration diagram for ilTestOutputGUI:Public Member Functions | |
| executeCommand () | |
| Execute Command. More... | |
| saveQuestionSolution ($authorized=true, $force=false) | |
| saves the user input of a question More... | |
Public Member Functions inherited from ilTestPlayerAbstractGUI | |
| __construct (ilObjTest $object) | |
| 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 ($authorized=true, $force=false) | |
| saves the user input of a question More... | |
| 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 () | |
| checkOnlineTestAccess () | |
| isTestAccessible () | |
| test accessible returns true if the user can perform the test More... | |
| isNrOfTriesReached () | |
| nr of tries exceeded More... | |
| endingTimeReached () | |
| handle endingTimeReached More... | |
| maxProcessingTimeReached () | |
| 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 (bool $obligations_info=false, bool $obligations_filter=false) | |
| Output of a summary of all test questions for test participants. More... | |
| outQuestionSummaryWithObligationsInfoCmd () | |
| outObligationsOnlySummaryCmd () | |
| 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 () | |
Public Member Functions inherited from ilTestServiceGUI | |
| isContextResultPresentation () | |
| setContextResultPresentation (bool $contextResultPresentation) | |
| setParticipantData (ilTestParticipantData $participantData) | |
| getParticipantData () | |
| getPassOverviewTableData (ilTestSession $testSession, $passes, $withResults) | |
| This method uses the data of a given test pass to create an evaluation for displaying into a table used in the ilTestEvaluationGUI. More... | |
| setObjectiveOrientedContainer (ilTestObjectiveOrientedContainer $objective_oriented_container) | |
| getObjectiveOrientedContainer () | |
| executeCommand () | |
| execute command More... | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl 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, ilTestResultHeaderLabelBuilder $testResultHeaderLabelBuilder=null) | |
| Returns the list of answers of a users test pass. More... | |
| getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=false) | |
| Returns the list of answers of a users test pass and offers a scoring option. 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... | |
| getResultsOfUserOutput (ilTestSession $testSession, int $active_id, int $pass, ilParticipantsTestResultsGUI $target_gui, bool $show_pass_details=true, bool $show_answers=true, bool $show_question_only=false, bool $show_reached_points=false) | |
| Output of the pass overview for a test called by a test participant. More... | |
| getResultsHeadUserAndPass ($active_id, $pass) | |
| Returns the user and pass data for a test results output. More... | |
| getQuestionResultForTestUsers (int $question_id, int $test_id) | |
| getObject () | |
Private Member Functions | |
| isValidSequenceElement ($sequence_element) | |
Additional Inherited Members | |
Data Fields inherited from ilTestPlayerAbstractGUI | |
| const | PRESENTATION_MODE_VIEW = 'view' |
| const | PRESENTATION_MODE_EDIT = 'edit' |
| const | FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
| bool | $maxProcessingTimeReached |
| bool | $endingTimeReached |
| int | $ref_id |
| const | FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
Output class for assessment test execution.
The ilTestOutputGUI class creates the output for the ilObjTestGUI class when learners execute a test. This saves some heap space because the ilObjTestGUI class will be much smaller then
Definition at line 35 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 924 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$assSettings, ilObjAssessmentFolder\_enabledAssessmentLogging(), populateQuestionOptionalMessage(), and ILIAS\Repository\user().
Referenced by startTestCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Returns TRUE if the answers of the current user could be saved.
Definition at line 679 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\isMaxProcessingTimeReached(), and ilTestPlayerAbstractGUI\isNrOfTriesReached().
Referenced by saveQuestionSolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 556 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ILIAS\Survey\Mode\getId(), ilTestServiceGUI\getObject(), ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, and ilTestPlayerCommands\SHOW_QUESTION.
Here is the call graph for this function:
|
protected |
Definition at line 476 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
Here is the call graph for this function:| ilTestOutputGUI::executeCommand | ( | ) |
Execute Command.
Definition at line 43 of file class.ilTestOutputGUI.php.
References $id, ilTestServiceGUI\$testSessionFactory, ilTestPlayerAbstractGUI\checkReadAccess(), ilTestPlayerAbstractGUI\checkTestExecutable(), ilTestPlayerAbstractGUI\checkTestSessionUser(), ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), exit, ilTestPlayerAbstractGUI\getAnswerChangedParameter(), ilTestServiceGUI\getCommand(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestPlayerAbstractGUI\getSequenceElementParameter(), ilTestSessionFactory\getSession(), getTestPlayerTitle(), handleCheckTestPassValid(), ilTestPlayerAbstractGUI\handlePasswordProtectionRedirect(), ilTestPlayerAbstractGUI\initAssessmentSettings(), ilYuiUtil\initConnectionWithAnimation(), iljQueryUtil\initjQuery(), ilTestPlayerAbstractGUI\initProcessLocker(), ilTestPlayerCommands\isTestExecutionCommand(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTestPlayerAbstractGUI\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().
Here is the call graph for this function:
|
protected |
Definition at line 833 of file class.ilTestOutputGUI.php.
References ilTestServiceGUI\$component_repository, ilTestServiceGUI\$questioninfo, ilTestRandomQuestionSetBuilder\getInstance(), ILIAS\Repository\lng(), ilTestRandomQuestionSetConfig\loadFromDb(), and performTearsAndAngerBrokenConfessionChecks().
Referenced by resumePlayerCmd(), and startTestCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 687 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 996 of file class.ilTestOutputGUI.php.
References ilObjTest\buildExamId(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 614 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestScreenGUI\DEFAULT_CMD, and ILIAS\Repository\lng().
Referenced by executeCommand(), nextQuestionCmd(), and previousQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 968 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\object(), and ilTestNavigationToolbarGUI\setFinishTestButtonPrimary().
Referenced by showQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 792 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), saveQuestionSolution(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Definition at line 598 of file class.ilTestOutputGUI.php.
Referenced by nextQuestionCmd().
Here is the caller graph for this function:
|
protected |
Definition at line 962 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by showQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 664 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 669 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 942 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 957 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 919 of file class.ilTestOutputGUI.php.
|
private |
Definition at line 309 of file class.ilTestOutputGUI.php.
Referenced by nextQuestionCmd(), previousQuestionCmd(), showQuestionCmd(), skipQuestionCmd(), and submitSolutionAndNextCmd().
Here is the caller graph for this function:
|
protected |
Definition at line 626 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), handleCheckTestPassValid(), handleQuestionPostponing(), isValidSequenceElement(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
Here is the call graph for this function:
|
protected |
Definition at line 809 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by generateRandomTestPassForActiveUser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
Referenced by adoptUserSolutionsFromPreviousPass(), and showQuestionCmd().
Here is the caller graph for this function:
|
protected |
Definition at line 646 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), handleCheckTestPassValid(), isValidSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
Here is the call graph for this function:
|
protected |
Resume a test at the last position.
Definition at line 873 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), generateRandomTestPassForActiveUser(), ilTestPlayerAbstractGUI\handleUserSettings(), ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), and ilTestPlayerCommands\SHOW_QUESTION.
Here is the call graph for this function:| ilTestOutputGUI::saveQuestionSolution | ( | $authorized = true, |
|
$force = false |
|||
| ) |
saves the user input of a question
Definition at line 695 of file class.ilTestOutputGUI.php.
References $save_result, ilObjTest\_getPass(), canSaveResult(), ILIAS\Repository\ctrl(), ilSession\get(), ilLOTestQuestionAdapter\getInstance(), ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestPlayerAbstractGUI\handleSkillTriggering(), ILIAS\Repository\int(), ilTestPlayerAbstractGUI\isNrOfTriesReached(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ILIAS\Repository\object(), ilSession\set(), ilTestPlayerAbstractGUI\updateWorkingTime(), and assQuestionInterface\validateSolutionSubmit().
Referenced by handleQuestionActionCmd(), showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 761 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ILIAS\Repository\object(), ilTestPlayerAbstractGUI\registerForcedFeedbackNavUrl(), ilTestPlayerAbstractGUI\removeIntermediateSolution(), ilTestPlayerAbstractGUI\saveNavigationPreventConfirmation(), saveQuestionSolution(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
Here is the call graph for this function:
|
protected |
Definition at line 326 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilLOTestQuestionAdapter\getInstance(), ilTestPlayerAbstractGUI\getInstantResponseParameter(), ilTestPlayerAbstractGUI\getQuestionGuiInstance(), ilTestPlayerAbstractGUI\getRegisteredForcedFeedbackNavUrl(), ilTestPlayerAbstractGUI\getTestNavigationToolbarGUI(), handlePrimaryButton(), handleTearsAndAngerNoObjectiveOrientedQuestion(), ilTestPlayerAbstractGUI\handleTearsAndAngerQuestionIsNull(), ILIAS\Repository\help(), ilTestPlayerAbstractGUI\isForcedFeedbackNavUrlRegistered(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilObjTest\isQuestionObligatory(), isValidSequenceElement(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\populateQuestionNavigation(), populateQuestionOptionalMessage(), ilTestPlayerAbstractGUI\populateTestNavigationToolbar(), ilTestPlayerAbstractGUI\prepareTestPage(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, ilSession\set(), ilTestPlayerAbstractGUI\showQuestionEditable(), ilTestPlayerAbstractGUI\showQuestionViewable(), ilTestPlayerCommands\SUBMIT_INTERMEDIATE_SOLUTION, and ilTestPlayerAbstractGUI\unregisterForcedFeedbackNavUrl().
Here is the call graph for this function:
|
protected |
Definition at line 578 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), isValidSequenceElement(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
Here is the call graph for this function:
|
protected |
Definition at line 222 of file class.ilTestOutputGUI.php.
References adoptUserSolutionsFromPreviousPass(), ILIAS\Repository\ctrl(), generateRandomTestPassForActiveUser(), ilSession\get(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), ilTestPlayerCommands\SHOW_QUESTION, updateLearningProgressOnTestStart(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 482 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), isValidSequenceElement(), ILIAS\Repository\object(), ilTestPlayerAbstractGUI\removeIntermediateSolution(), saveQuestionSolution(), ilTestPlayerCommands\SHOW_QUESTION, and submitSolutionCmd().
Here is the call graph for this function:
|
protected |
Definition at line 512 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilTestPlayerAbstractGUI\getNextCommandParameter(), ilTestPlayerAbstractGUI\getNextSequenceParameter(), ILIAS\Repository\object(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, ilUtil\redirect(), ilTestPlayerAbstractGUI\removeIntermediateSolution(), ilTestPlayerAbstractGUI\saveNavigationPreventConfirmation(), saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by submitSolutionAndNextCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 304 of file class.ilTestOutputGUI.php.
References ilLPStatusWrapper\_updateStatus(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by startTestCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 37 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 38 of file class.ilTestOutputGUI.php.
Referenced by saveQuestionSolution().