ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
executeCommand () | |
execute command More... | |
saveQuestionSolution ($authorized=true, $force=false) | |
saves the user input of a question More... | |
outQuestionSummaryCmd ($fullpage=true, $contextFinishTest=false, $obligationsNotAnswered=false, $obligationsFilter=false) | |
Public Member Functions inherited from ilTestPlayerAbstractGUI | |
__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 () | |
showFinalStatementCmd () | |
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) | |
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 () | |
Public Member Functions inherited from ilTestServiceGUI | |
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) | |
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) | |
Protected Attributes | |
$testSequence | |
$testSession | |
Protected Attributes inherited from ilTestPlayerAbstractGUI | |
$passwordChecker | |
$processLocker | |
$testSession | |
$assSettings | |
$testSequence = null | |
Protected Attributes inherited from ilTestServiceGUI | |
$db | |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
Private Member Functions | |
outCurrentlyFinishedPage () | |
isQuestionAnsweredCorrect ($questionId, $activeId, $pass) | |
buildQuestionSetCompleteStatisticTableGUI () | |
buildQuestionSetFilteredStatisticTableGUI () | |
buildQuestionSetStatisticTableGUI ($tableId) | |
getEnterTestButtonLangVar () | |
resetCurrentQuestion () | |
buildFinishPagePassDeletionLink () | |
getPassDeletionTarget () | |
Private Attributes | |
$dynamicQuestionSetConfig = null | |
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 |
$ref_id | |
$saveResult | |
$sequence | |
$cmdCtrl | |
$maxProcessingTimeReached | |
$endingTimeReached | |
const | FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
Data Fields inherited from ilTestServiceGUI | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
Definition at line 29 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 987 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References getPassDeletionTarget().
|
protected |
Definition at line 864 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $key, ilAssQuestionList\QUESTION_ANSWER_STATUS_CORRECT_ANSWERED, ilAssQuestionList\QUESTION_ANSWER_STATUS_NON_ANSWERED, and ilAssQuestionList\QUESTION_ANSWER_STATUS_WRONG_ANSWERED.
Referenced by showQuestionSelectionCmd().
|
private |
Definition at line 898 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetStatisticTableGUI(), and ilTestDynamicQuestionSetStatisticTableGUI\COMPLETE_TABLE_ID.
Referenced by showQuestionSelectionCmd().
|
private |
Definition at line 911 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetStatisticTableGUI(), ilTestDynamicQuestionSetStatisticTableGUI\FILTERED_TABLE_ID, and ilObjTaxonomy\getUsageOfObject().
Referenced by executeCommand(), filterQuestionSelectionCmd(), resetQuestionSelectionCmd(), and showQuestionSelectionCmd().
|
private |
Definition at line 937 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
Referenced by buildQuestionSetCompleteStatisticTableGUI(), and buildQuestionSetFilteredStatisticTableGUI().
|
protected |
Definition at line 828 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $data, $description, and $key.
|
protected |
Definition at line 1087 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $DIC, and ilAssQuestionList\QUESTION_INSTANCE_TYPE_ORIGINALS.
|
protected |
Returns TRUE if the answers of the current user could be saved.
Definition at line 750 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by saveQuestionSolution().
|
protected |
Definition at line 446 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 368 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerDynamicQuestionSetGUI::executeCommand | ( | ) |
execute command
Definition at line 49 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $DIC, $ilDB, ilTestServiceGUI\$lng, $ret, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestServiceGUI\$tree, buildQuestionSetFilteredStatisticTableGUI(), ilTestPlayerAbstractGUI\checkTestSessionUser(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilTestPlayerAbstractGUI\getAnswerChangedParameter(), ilTestPlayerAbstractGUI\handlePasswordProtectionRedirect(), ilTestPlayerAbstractGUI\initAssessmentSettings(), ilYuiUtil\initConnectionWithAnimation(), ilOverlayGUI\initJavascript(), iljQueryUtil\initjQuery(), ilTestPlayerAbstractGUI\initProcessLocker(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 278 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilAssQuestionList\ANSWER_STATUS_FILTER_ALL_NON_CORRECT, buildQuestionSetFilteredStatisticTableGUI(), and ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
|
protected |
Definition at line 326 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References resetCurrentQuestion(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 164 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 951 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by showQuestionSelectionCmd().
|
private |
Definition at line 999 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER.
Referenced by buildFinishPagePassDeletionLink(), and showQuestionSelectionCmd().
|
protected |
Definition at line 1015 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getSequenceElementParameter().
Referenced by showQuestionCmd().
|
protected |
Definition at line 1020 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET.
Referenced by isCheckedQuestionResettingConfirmationRequired().
|
protected |
Definition at line 1073 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerCommands\SHOW_QUESTION.
Referenced by showQuestionSelectionCmd().
|
protected |
Definition at line 696 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), saveQuestionSolution(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 467 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References getResetCheckedParameter().
Referenced by showQuestionCmd().
|
protected |
Definition at line 735 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 740 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 1105 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 814 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and assQuestion\_getReachedPoints().
Referenced by persistQuestionAnswerStatus().
|
protected |
Definition at line 1100 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 1082 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 350 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $DIC, $ilUser, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 332 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References assQuestion\_isWorkedThrough(), resetCurrentQuestion(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by skipQuestionCmd().
|
private |
Definition at line 718 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $message, and ilTestServiceGUI\$tpl.
Referenced by showQuestionCmd().
ilTestPlayerDynamicQuestionSetGUI::outQuestionSummaryCmd | ( | $fullpage = true , |
|
$contextFinishTest = false , |
|||
$obligationsNotAnswered = false , |
|||
$obligationsFilter = false |
|||
) |
Definition at line 1029 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 960 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and isQuestionAnsweredCorrect().
Referenced by showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 1066 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References isLastQuestionInSequence(), and ilTestPlayerAbstractGUI\populateNextButtons().
Referenced by showQuestionCmd().
|
protected |
Definition at line 321 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 975 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by fromPassDeletionCmd(), nextQuestionCmd(), and submitSolutionAndNextCmd().
|
protected |
Definition at line 1010 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\resetSequenceElementParameter().
Referenced by showQuestionCmd().
|
protected |
Definition at line 306 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetFilteredStatisticTableGUI(), and ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
|
protected |
Resume a test at the last position.
Definition at line 172 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\handleUserSettings(), ilTestPlayerCommands\SHOW_QUESTION, ilTestPlayerCommands\SHOW_QUESTION_SELECTION, and ilTestPlayerAbstractGUI\showMaximumAllowedUsersReachedMessage().
ilTestPlayerDynamicQuestionSetGUI::saveQuestionSolution | ( | $authorized = true , |
|
$force = false |
|||
) |
saves the user input of a question
Definition at line 758 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $_POST, $_SESSION, $pass, ilTestPlayerAbstractGUI\$saveResult, canSaveResult(), ilTestPlayerAbstractGUI\handleSkillTriggering(), and OUTPUT_JAVASCRIPT.
Referenced by handleQuestionActionCmd(), showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 1041 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\populateMessageContent(), ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerCommands\UNFREEZE_ANSWERS.
Referenced by showQuestionCmd().
|
protected |
Definition at line 654 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), persistQuestionAnswerStatus(), ilTestPlayerAbstractGUI\registerForcedFeedbackNavUrl(), ilTestPlayerAbstractGUI\removeIntermediateSolution(), ilTestPlayerAbstractGUI\saveNavigationPreventConfirmation(), saveQuestionSolution(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 487 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References assQuestion\_isWorkedThrough(), ilTestPlayerAbstractGUI\getInstantResponseParameter(), ilTestPlayerAbstractGUI\getQuestionGuiInstance(), getQuestionIdParameter(), ilTestPlayerAbstractGUI\getRegisteredForcedFeedbackNavUrl(), ilTestPlayerAbstractGUI\getTestNavigationToolbarGUI(), ilTestPlayerAbstractGUI\handleTearsAndAngerQuestionIsNull(), isCheckedQuestionResettingConfirmationRequired(), ilTestPlayerAbstractGUI\isForcedFeedbackNavUrlRegistered(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilObjTest\isQuestionObligatory(), outCurrentlyFinishedPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), populateQuestionNavigation(), ilTestPlayerAbstractGUI\populateTestNavigationToolbar(), ilTestPlayerAbstractGUI\prepareTestPage(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, resetQuestionIdParameter(), showCheckedQuestionResettingConfirmation(), ilTestPlayerAbstractGUI\showQuestionEditable(), ilTestPlayerAbstractGUI\showQuestionViewable(), ilTestPlayerCommands\SUBMIT_INTERMEDIATE_SOLUTION, ilTestPlayerAbstractGUI\unregisterForcedFeedbackNavUrl(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Definition at line 211 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetAnswerStatisticRowArray(), buildQuestionSetCompleteStatisticTableGUI(), buildQuestionSetFilteredStatisticTableGUI(), ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER, getEnterTestButtonLangVar(), ilLinkButton\getInstance(), getPassDeletionTarget(), getStartTestFromQuestionSelectionLink(), ilTestPlayerAbstractGUI\outProcessingTime(), ilTestPlayerAbstractGUI\prepareSummaryPage(), ilTestPlayerCommands\SUSPEND_TEST, and vd().
|
protected |
Definition at line 462 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References nextQuestionCmd().
|
protected |
Definition at line 187 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_SESSION, ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
|
protected |
Definition at line 374 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getQuestionInstance(), persistQuestionAnswerStatus(), resetCurrentQuestion(), saveQuestionSolution(), ilTestPlayerCommands\SHOW_QUESTION, and submitSolutionCmd().
|
protected |
Definition at line 398 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilTestPlayerAbstractGUI\getNextCommandParameter(), ilTestPlayerAbstractGUI\getNextSequenceParameter(), ilTestPlayerAbstractGUI\getQuestionInstance(), persistQuestionAnswerStatus(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, ilUtil\redirect(), ilTestPlayerAbstractGUI\saveNavigationPreventConfirmation(), saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by submitSolutionAndNextCmd().
|
protected |
Definition at line 1053 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 359 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $DIC, $ilUser, and ilTestPlayerCommands\SHOW_QUESTION.
|
private |
Definition at line 34 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 39 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 44 of file class.ilTestPlayerDynamicQuestionSetGUI.php.