ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
executeCommand () | |
Execute Command. More... | |
saveQuestionSolution ($authorized=true, $force=false) | |
saves the user input of a question More... | |
![]() | |
__construct ($a_object) | |
ilTestOutputGUI constructor More... | |
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 () | |
remove an auto-saved solution of the current question More... | |
saveQuestionSolution ($authorized=true, $force=false) | |
saves the user input of a question More... | |
suspendTestCmd () | |
isMaxProcessingTimeReached () | |
Checks wheather the maximum processing time is reached or not. More... | |
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... | |
toggleSideListCmd () | |
Toggle side list. More... | |
finishTestCmd ($requires_confirmation=true) | |
redirectBackCmd () | |
getKioskHead () | |
checkOnlineTestAccess () | |
check access restrictions like client ip, partipating user etc. More... | |
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... | |
outProcessingTime ($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 ($fullpage=true, $contextFinishTest=false, $obligationsInfo=false, $obligationsFilter=false) | |
Output of a summary of all test questions for test participants. More... | |
outQuestionSummaryWithObligationsInfoCmd () | |
outObligationsOnlySummaryCmd () | |
showMaximumAllowedUsersReachedMessage () | |
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 ($contextResultPresentation) | |
__construct (ilObjTest $a_object) | |
The constructor takes the test object reference as parameter. More... | |
setParticipantData ($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 $objectiveOrientedContainer) | |
getObjectiveOrientedContainer () | |
executeCommand () | |
execute command More... | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. More... | |
buildPassOverviewTableGUI ($targetGUI) | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=false, $only_answered_questions=false, $show_question_only=false, $show_reached_points=false, $anchorNav=false, ilTestQuestionRelatedObjectivesList $objectivesList=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 $objectivesList=null) | |
Returns an output of the solution to an answer compared to the correct solution. More... | |
getResultsOfUserOutput ($testSession, $active_id, $pass, $targetGUI, $show_pass_details=true, $show_answers=true, $show_question_only=false, $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 ($question_id, $test_id) | |
Creates a HTML representation for the results of a given question in a test. More... | |
populatePassFinishDate ($tpl, $passFinishDate) | |
populateExamId (ilTemplate $tpl, int $activeId, int $pass) | |
getObject () | |
Protected Attributes | |
$questionRelatedObjectivesList | |
![]() | |
$passwordChecker | |
$processLocker | |
$testSession | |
$assSettings | |
$testSequence = null | |
![]() | |
ILIAS Test InternalRequestService | $testrequest |
$db | |
Refinery | $refinery |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
Private Member Functions | |
isValidSequenceElement ($sequenceElement) | |
Additional Inherited Members | |
![]() | |
const | PRESENTATION_MODE_VIEW = 'view' |
const | PRESENTATION_MODE_EDIT = 'edit' |
const | FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
$ref_id | |
$saveResult | |
$sequence | |
$cmdCtrl | |
$maxProcessingTimeReached | |
$endingTimeReached | |
const | FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
![]() | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 33 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 892 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$assSettings, $DIC, $ilDB, $ilUser, ilObjAssessmentFolder\_enabledAssessmentLogging(), and populateQuestionOptionalMessage().
Referenced by startTestCmd().
|
protected |
Returns TRUE if the answers of the current user could be saved.
Definition at line 645 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\isMaxProcessingTimeReached(), and ilTestPlayerAbstractGUI\isNrOfTriesReached().
Referenced by saveQuestionSolution().
|
protected |
Definition at line 524 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 444 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestOutputGUI::executeCommand | ( | ) |
Execute Command.
Definition at line 43 of file class.ilTestOutputGUI.php.
References $DIC, $ilDB, ilTestServiceGUI\$lng, ilTestServiceGUI\$refinery, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestPlayerAbstractGUI\checkReadAccess(), ilTestPlayerAbstractGUI\checkTestExecutable(), ilTestPlayerAbstractGUI\checkTestSessionUser(), ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilTestPlayerAbstractGUI\getAnswerChangedParameter(), ilTestServiceGUI\getCommand(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestPlayerAbstractGUI\getSequenceElementParameter(), ilTestPlayerAbstractGUI\handlePasswordProtectionRedirect(), ilTestPlayerAbstractGUI\initAssessmentSettings(), ilYuiUtil\initConnectionWithAnimation(), iljQueryUtil\initjQuery(), ilTestPlayerAbstractGUI\initProcessLocker(), ilTestPlayerCommands\isTestExecutionCommand(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), ilTestPlayerCommands\SHOW_QUESTION, ilTestPlayerLayoutProvider\TEST_PLAYER_KIOSK_MODE_ENABLED, ilTestPlayerLayoutProvider\TEST_PLAYER_SHORT_TITLE, and ilTestPlayerLayoutProvider\TEST_PLAYER_TITLE.
|
protected |
Definition at line 812 of file class.ilTestOutputGUI.php.
References $DIC, $ilDB, ilTestServiceGUI\$tree, ilTestRandomQuestionSetBuilder\getInstance(), and performTearsAndAngerBrokenConfessionChecks().
Referenced by resumePlayerCmd(), and startTestCmd().
|
protected |
Definition at line 653 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 580 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\backToInfoScreenCmd(), and ILIAS\Repository\lng().
Referenced by nextQuestionCmd(), and previousQuestionCmd().
|
protected |
ilTestNavigationToolbarGUI | $navigationToolbarGUI | |
$currentQuestionId |
Definition at line 946 of file class.ilTestOutputGUI.php.
References assQuestion\getQuestionsMissingResultRecord(), ILIAS\Repository\object(), and ilTestNavigationToolbarGUI\setFinishTestButtonPrimary().
Referenced by showQuestionCmd().
|
protected |
Definition at line 758 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), saveQuestionSolution(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Definition at line 564 of file class.ilTestOutputGUI.php.
References assQuestion\_isWorkedThrough().
Referenced by nextQuestionCmd().
|
protected |
Definition at line 934 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\backToInfoScreenCmd(), and ILIAS\Repository\lng().
Referenced by showQuestionCmd().
|
protected |
Definition at line 630 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 635 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 914 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 929 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 887 of file class.ilTestOutputGUI.php.
|
private |
Definition at line 279 of file class.ilTestOutputGUI.php.
Referenced by nextQuestionCmd(), previousQuestionCmd(), showQuestionCmd(), skipQuestionCmd(), and submitSolutionAndNextCmd().
|
protected |
Definition at line 592 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), handleCheckTestPassValid(), handleQuestionPostponing(), isValidSequenceElement(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 775 of file class.ilTestOutputGUI.php.
References $DIC, $ilUser, and ILIAS\Repository\lng().
Referenced by generateRandomTestPassForActiveUser().
|
abstractprotected |
Referenced by adoptUserSolutionsFromPreviousPass(), and showQuestionCmd().
|
protected |
Definition at line 612 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), handleCheckTestPassValid(), isValidSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Resume a test at the last position.
Definition at line 841 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), generateRandomTestPassForActiveUser(), ilTestPlayerAbstractGUI\handleUserSettings(), ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestOutputGUI::saveQuestionSolution | ( | $authorized = true , |
|
$force = false |
|||
) |
saves the user input of a question
Definition at line 661 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$saveResult, 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(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Referenced by handleQuestionActionCmd(), showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 727 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.
|
protected |
Definition at line 296 of file class.ilTestOutputGUI.php.
References $DIC, assQuestion\_isWorkedThrough(), ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilLOTestQuestionAdapter\getInstance(), ilTestPlayerAbstractGUI\getInstantResponseParameter(), ilTestPlayerAbstractGUI\getQuestionGuiInstance(), ilTestPlayerAbstractGUI\getRegisteredForcedFeedbackNavUrl(), ilTestPlayerAbstractGUI\getTestNavigationToolbarGUI(), handlePrimaryButton(), handleTearsAndAngerNoObjectiveOrientedQuestion(), ilTestPlayerAbstractGUI\handleTearsAndAngerQuestionIsNull(), 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().
|
protected |
Definition at line 544 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), isValidSequenceElement(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 186 of file class.ilTestOutputGUI.php.
References $DIC, $ilUser, adoptUserSolutionsFromPreviousPass(), ILIAS\Repository\ctrl(), generateRandomTestPassForActiveUser(), ilSession\get(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), ilTestPlayerCommands\SHOW_QUESTION, and updateLearningProgressOnTestStart().
|
protected |
Definition at line 450 of file class.ilTestOutputGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), isValidSequenceElement(), ILIAS\Repository\object(), ilTestPlayerAbstractGUI\removeIntermediateSolution(), saveQuestionSolution(), ilTestPlayerCommands\SHOW_QUESTION, and submitSolutionCmd().
|
protected |
Definition at line 480 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().
|
protected |
Definition at line 271 of file class.ilTestOutputGUI.php.
References $DIC, $ilUser, ilLPStatusWrapper\_updateStatus(), and ILIAS\Repository\object().
Referenced by startTestCmd().
|
protected |
Definition at line 38 of file class.ilTestOutputGUI.php.