|
ILIAS
Release_5_0_x_branch Revision 61816
|
Inheritance diagram for ilTestPlayerDynamicQuestionSetGUI:
Collaboration diagram for ilTestPlayerDynamicQuestionSetGUI:Public Member Functions | |
| executeCommand () | |
| execute command | |
| saveQuestionSolution ($force=FALSE) | |
| saves the user input of a question | |
Public Member Functions inherited from ilTestPlayerAbstractGUI | |
| __construct ($a_object) | |
| ilTestOutputGUI constructor | |
| saveTagsCmd () | |
| Save tags for tagging gui. | |
| outResultsToplistCmd () | |
| updateWorkingTime () | |
| updates working time and stores state saveresult to see if question has to be stored or not | |
| outIntroductionPageCmd () | |
| Creates the introduction page for a test. | |
| isMaxProcessingTimeReached () | |
| Checks wheather the maximum processing time is reached or not. | |
| setAnonymousIdCmd () | |
| Sets a session variable with the test access code for an anonymous test user. | |
| getLockParameter () | |
| displayCodeCmd () | |
| codeConfirmedCmd () | |
| handleUserSettings () | |
| Handles some form parameters on starting and resuming a test. | |
| calculateSequence () | |
| Calculates the sequence to determine the next question. | |
| redirectAfterAutosaveCmd () | |
| autosaveCmd () | |
| togglesidelistCmd () | |
| Toggle side list. | |
| backFromSummaryCmd () | |
| Go back to the last active question from the summary. | |
| finishTestCmd ($requires_confirmation=true) | |
| redirectBackCmd () | |
| showFinalStatementCmd () | |
| getKioskHead () | |
| outTestPage ($directfeedback) | |
| Outputs the question of the active sequence. | |
| checkOnlineTestAccess () | |
| check access restrictions like client ip, partipating user etc. | |
| isTestAccessible () | |
| test accessible returns true if the user can perform the test | |
| isNrOfTriesReached () | |
| nr of tries exceeded | |
| passDetails () | |
| Output of the learners view of an existing test pass. | |
| maxProcessingTimeReached () | |
| Outputs a message when the maximum processing time is reached. | |
| confirmSubmitAnswers () | |
| confirm submit results if confirm then results are submitted and the screen will be redirected to the startpage of the test public | |
| outProcessingTime ($active_id) | |
| outQuestionSummaryCmd ($fullpage=true, $contextFinishTest=false, $obligationsNotAnswered=false, $obligationsFilter=false) | |
| Output of a summary of all test questions for test participants. | |
| outQuestionSummaryWithObligationsInfoCmd () | |
| outObligationsOnlySummaryCmd () | |
| showMaximumAllowedUsersReachedMessage () | |
| backConfirmFinishCmd () | |
| outCorrectSolution () | |
| Creates an output of the solution of an answer compared to the correct solution. | |
| 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) | |
| getContentBlockName () | |
| Returns the name of the current content block (depends on the kiosk mode setting) | |
| outUserResultsOverviewCmd () | |
| outUserListOfAnswerPassesCmd () | |
Public Member Functions inherited from ilTestServiceGUI | |
| isContextWithinTestPass () | |
| setContextWithinTestPass ($contextWithinTestPass) | |
| ilTestServiceGUI (ilObjTest $a_object) | |
| The constructor takes the test object reference as parameter. | |
| setParticipantData ($participantData) | |
| getParticipantData () | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl command. | |
| getPassOverview ($active_id, $targetclass="", $targetcommand="", $short=FALSE, $hide_details=FALSE, $adminMode=false) | |
| Returns the pass overview for a given active ID. | |
| getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=FALSE, $only_answered_questions=FALSE, $show_question_only=FALSE, $show_reached_points=FALSE, $anchorNav=false) | |
| Returns the list of answers of a users test pass. | |
| getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=FALSE) | |
| Returns the list of answers of a users test pass and offers a scoring option. | |
| getResultsSignature () | |
| Returns HTML code for a signature field. | |
| getResultsUserdata ($testSession, $active_id, $overwrite_anonymity=FALSE) | |
| Returns the user data for a test results output. | |
| getCorrectSolutionOutput ($question_id, $active_id, $pass) | |
| Returns an output of the solution to an answer compared to the correct solution. | |
| 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. | |
| getResultsHeadUserAndPass ($active_id, $pass) | |
| Returns the user and pass data for a test results output. | |
| getQuestionResultForTestUsers ($question_id, $test_id) | |
| Creates a HTML representation for the results of a given question in a test. | |
Data Fields | |
| const | CMD_SHOW_QUESTION_SELECTION = 'showQuestionSelection' |
| const | CMD_SHOW_QUESTION = 'showQuestion' |
| const | CMD_FROM_PASS_DELETION = 'fromPassDeletion' |
Data Fields inherited from ilTestPlayerAbstractGUI | |
| $ref_id | |
| $saveResult | |
| $sequence | |
| $cmdCtrl | |
| $maxProcessingTimeReached | |
| $endingTimeReached | |
Data Fields inherited from ilTestServiceGUI | |
| $object = null | |
| $service = null | |
| $lng | |
| $tpl | |
| $ctrl | |
| $ilias | |
| $tree | |
| $ref_id | |
Protected Attributes | |
| $testSequence | |
| $testSession | |
Protected Attributes inherited from ilTestPlayerAbstractGUI | |
| $passwordChecker | |
| $processLocker | |
| $testSession | |
Protected Attributes inherited from ilTestServiceGUI | |
| $db | |
| $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 | |
Definition at line 30 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 1177 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References getPassDeletionTarget().
Here is the call graph for this function:
|
protected |
Definition at line 1041 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilAssQuestionList\QUESTION_ANSWER_STATUS_CORRECT_ANSWERED, ilAssQuestionList\QUESTION_ANSWER_STATUS_NON_ANSWERED, and ilAssQuestionList\QUESTION_ANSWER_STATUS_WRONG_ANSWERED.
Referenced by showQuestionSelectionCmd().
Here is the caller graph for this function:
|
private |
Definition at line 1087 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetStatisticTableGUI(), and ilTestDynamicQuestionSetStatisticTableGUI\COMPLETE_TABLE_ID.
Referenced by showQuestionSelectionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1100 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetStatisticTableGUI(), ilTestDynamicQuestionSetStatisticTableGUI\FILTERED_TABLE_ID, and ilObjTaxonomy\getUsageOfObject().
Referenced by executeCommand(), filterQuestionSelectionCmd(), resetQuestionSelectionCmd(), and showQuestionSelectionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1125 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by buildQuestionSetCompleteStatisticTableGUI(), and buildQuestionSetFilteredStatisticTableGUI().
Here is the caller graph for this function:
|
protected |
Definition at line 1000 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by showTrackedQuestionListCmd().
Here is the caller graph for this function:
|
protected |
Returns TRUE if the answers of the current user could be saved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 899 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by saveQuestionSolution().
Here is the caller graph for this function:| ilTestPlayerDynamicQuestionSetGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 54 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $cmd, $ilDB, ilTestServiceGUI\$lng, $ret, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestServiceGUI\$tree, buildQuestionSetFilteredStatisticTableGUI(), ilTestPlayerAbstractGUI\calculateSequence(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilTestPlayerAbstractGUI\handlePasswordProtectionRedirect(), ilYuiUtil\initConnectionWithAnimation(), ilOverlayGUI\initJavascript(), iljQueryUtil\initjQuery(), and ilTestPlayerAbstractGUI\initProcessLocker().
Here is the call graph for this function:
|
protected |
Definition at line 249 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilAssQuestionList\ANSWER_STATUS_FILTER_ALL_NON_CORRECT, and buildQuestionSetFilteredStatisticTableGUI().
Here is the call graph for this function:
|
protected |
Definition at line 348 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References resetCurrentQuestion().
Here is the call graph for this function:
|
private |
Definition at line 1138 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by showQuestionSelectionCmd().
Here is the caller graph for this function:
|
private |
Definition at line 1189 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER.
Referenced by buildFinishPagePassDeletionLink(), and showQuestionSelectionCmd().
Here is the caller graph for this function:
|
protected |
Go to the question with the active sequence.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 434 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET.
|
protected |
Definition at line 884 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, and $ilUser.
Referenced by showInstantResponseCmd(), and showQuestionCmd().
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 528 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 874 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by populatePreviousButtons().
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 879 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by outWorkingForm().
Here is the caller graph for this function:
|
private |
Definition at line 964 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and assQuestion\_getReachedPoints().
Referenced by persistQuestionAnswerStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Set a question solved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 394 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $ilUser, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 354 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), persistQuestionAnswerStatus(), resetCurrentQuestion(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
private |
Definition at line 810 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilObjTest\lookupExamId(), ilTestPlayerAbstractGUI\outProcessingTime(), ilTestPlayerAbstractGUI\populateCancelButtonBlock(), ilTestPlayerAbstractGUI\populateKioskHead(), populatePreviousButtons(), ilTestPlayerAbstractGUI\populateQuestionSelectionButtons(), and ilTestPlayerAbstractGUI\prepareTestPageOutput().
Referenced by showQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Creates the learners output of a question.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 552 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $_SESSION, $ilLog, $ilUser, ilObjTest\_getSolvedQuestions(), ilTestPlayerAbstractGUI\determineInlineScoreDisplay(), ilTestPlayerAbstractGUI\fillQuestionRelatedNavigation(), ilUtil\getJSLocation(), isLastQuestionInSequence(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilObjTest\isQuestionObligatory(), OUTPUT_JAVASCRIPT, ilTestPlayerAbstractGUI\populateCancelButtonBlock(), ilTestPlayerAbstractGUI\populateCharSelector(), ilTestPlayerAbstractGUI\populateContentStyleBlock(), ilTestPlayerAbstractGUI\populateGenericFeedbackBlock(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToEndOfTest(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToQuestion(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToSummary(), ilTestPlayerAbstractGUI\populatePostponeButtons(), populatePreviousButtons(), ilTestPlayerAbstractGUI\populateQuestionMarkingBlockAsMarked(), ilTestPlayerAbstractGUI\populateQuestionMarkingBlockAsUnmarked(), ilTestPlayerAbstractGUI\populateQuestionSelectionButtons(), ilTestPlayerAbstractGUI\populateScoreBlock(), ilTestPlayerAbstractGUI\populateSolutionBlock(), ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock(), ilTestPlayerAbstractGUI\populateSyntaxStyleBlock(), and resetCurrentQuestion().
Here is the call graph for this function:
|
protected |
Definition at line 1148 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and isQuestionAnsweredCorrect().
Referenced by handleQuestionActionCmd(), markQuestionCmd(), nextQuestionCmd(), postponeQuestionCmd(), showInstantResponseCmd(), showQuestionSelectionCmd(), showTrackedQuestionListCmd(), and unmarkQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 980 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\$sequence, isFirstPageInSequence(), ilTestPlayerAbstractGUI\populateLowerPreviousButtonBlock(), and ilTestPlayerAbstractGUI\populateUpperPreviousButtonBlock().
Referenced by outCurrentlyFinishedPage(), and outWorkingForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 373 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 343 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 1164 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by fromPassDeletionCmd(), nextQuestionCmd(), and outWorkingForm().
Here is the caller graph for this function:
|
protected |
Definition at line 280 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetFilteredStatisticTableGUI().
Here is the call graph for this function:
|
protected |
Resume a test at the last position.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 141 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\handleUserSettings(), and ilTestPlayerAbstractGUI\showMaximumAllowedUsersReachedMessage().
Here is the call graph for this function:| ilTestPlayerDynamicQuestionSetGUI::saveQuestionSolution | ( | $force = FALSE | ) |
saves the user input of a question
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 907 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $_POST, $_SESSION, $ilUser, $pass, ilTestPlayerAbstractGUI\$saveResult, canSaveResult(), and OUTPUT_JAVASCRIPT.
Referenced by handleQuestionActionCmd(), markQuestionCmd(), nextQuestionCmd(), postponeQuestionCmd(), showInstantResponseCmd(), showQuestionSelectionCmd(), showTrackedQuestionListCmd(), and unmarkQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 494 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References handleJavascriptActivationStatus(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilTestPlayerAbstractGUI\outTestPage(), persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Definition at line 455 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References handleJavascriptActivationStatus(), outCurrentlyFinishedPage(), and ilTestPlayerAbstractGUI\outTestPage().
Here is the call graph for this function:
|
protected |
Definition at line 184 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetAnswerStatisticRowArray(), buildQuestionSetCompleteStatisticTableGUI(), buildQuestionSetFilteredStatisticTableGUI(), ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER, getEnterTestButtonLangVar(), ilTestPlayerAbstractGUI\getMarkedQuestions(), getPassDeletionTarget(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilTestPlayerAbstractGUI\outProcessingTime(), persistQuestionAnswerStatus(), ilTestPlayerAbstractGUI\prepareSummaryPage(), saveQuestionSolution(), ilTestPlayerAbstractGUI\updateWorkingTime(), and vd().
Here is the call graph for this function:
|
protected |
Definition at line 295 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionsTableDataArray(), ilTestPlayerAbstractGUI\getMarkedQuestions(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilTestPlayerAbstractGUI\outProcessingTime(), persistQuestionAnswerStatus(), ilTestPlayerAbstractGUI\prepareSummaryPage(), saveQuestionSolution(), ilTable2GUI\setData(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Definition at line 158 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_SESSION, and $ilUser.
|
protected |
Set a question unsolved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 414 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $ilUser, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
private |
Definition at line 39 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 44 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 49 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
| const ilTestPlayerDynamicQuestionSetGUI::CMD_FROM_PASS_DELETION = 'fromPassDeletion' |
Definition at line 34 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
| const ilTestPlayerDynamicQuestionSetGUI::CMD_SHOW_QUESTION = 'showQuestion' |
Definition at line 33 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
| const ilTestPlayerDynamicQuestionSetGUI::CMD_SHOW_QUESTION_SELECTION = 'showQuestionSelection' |
Definition at line 32 of file class.ilTestPlayerDynamicQuestionSetGUI.php.