|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Output class for assessment test execution. More...
Inheritance diagram for ilTestOutputGUI:
Collaboration diagram for ilTestOutputGUI:Public Member Functions | |
| executeCommand () | |
| Execute Command. More... | |
| saveQuestionSolution ($force=FALSE) | |
| saves the user input of a question More... | |
Public Member Functions inherited from ilTestPlayerAbstractGUI | |
| __construct ($a_object) | |
| ilTestOutputGUI constructor More... | |
| saveTagsCmd () | |
| Save tags for tagging gui. More... | |
| outResultsToplistCmd () | |
| updateWorkingTime () | |
| updates working time and stores state saveresult to see if question has to be stored or not More... | |
| saveQuestionSolution ($force=FALSE) | |
| saves the user input of a question More... | |
| outIntroductionPageCmd () | |
| Creates the introduction page for a test. More... | |
| 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 () | |
| displayCodeCmd () | |
| codeConfirmedCmd () | |
| handleUserSettings () | |
| Handles some form parameters on starting and resuming a test. More... | |
| calculateSequence () | |
| Calculates the sequence to determine the next question. More... | |
| redirectAfterAutosaveCmd () | |
| autosaveCmd () | |
| togglesidelistCmd () | |
| Toggle side list. More... | |
| backFromSummaryCmd () | |
| Go back to the last active question from the summary. More... | |
| finishTestCmd ($requires_confirmation=true) | |
| redirectBackCmd () | |
| showFinalStatementCmd () | |
| getKioskHead () | |
| outTestPage ($directfeedback) | |
| Outputs the question of the active sequence. More... | |
| 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... | |
| passDetails () | |
| Output of the learners view of an existing test pass. 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 @access public More... | |
| outProcessingTime ($active_id) | |
| outQuestionSummaryCmd ($fullpage=true, $contextFinishTest=false, $obligationsNotAnswered=false, $obligationsFilter=false) | |
| Output of a summary of all test questions for test participants. More... | |
| outQuestionSummaryWithObligationsInfoCmd () | |
| outObligationsOnlySummaryCmd () | |
| showMaximumAllowedUsersReachedMessage () | |
| backConfirmFinishCmd () | |
| 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 () | |
| outUserListOfAnswerPassesCmd () | |
Public Member Functions inherited from ilTestServiceGUI | |
| isContextWithinTestPass () | |
| setContextWithinTestPass ($contextWithinTestPass) | |
| ilTestServiceGUI (ilObjTest $a_object) | |
| The constructor takes the test object reference as parameter. More... | |
| setParticipantData ($participantData) | |
| getParticipantData () | |
| & | executeCommand () |
| execute command More... | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl command. More... | |
| getPassOverview ($active_id, $targetclass="", $targetcommand="", $short=FALSE, $hide_details=FALSE, $adminMode=false) | |
| Returns the pass overview for a given active ID. More... | |
| 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. 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... | |
| getResultsUserdata ($testSession, $active_id, $overwrite_anonymity=FALSE) | |
| Returns the user data for a test results output. More... | |
| getCorrectSolutionOutput ($question_id, $active_id, $pass) | |
| 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... | |
Private Member Functions | |
| isValidSequenceElement ($sequenceElement) | |
Additional Inherited Members | |
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 inherited from ilTestPlayerAbstractGUI | |
| $passwordChecker | |
| $processLocker | |
| $testSession | |
Protected Attributes inherited from ilTestServiceGUI | |
| $db | |
| $testSessionFactory = null | |
| $testSequenceFactory = null | |
| $participantData | |
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
@inGroup ModulesTest
Definition at line 20 of file class.ilTestOutputGUI.php.
|
protected |
Returns TRUE if the answers of the current user could be saved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 703 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 |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 944 of file class.ilTestOutputGUI.php.
| ilTestOutputGUI::executeCommand | ( | ) |
Execute Command.
Reimplemented from ilTestServiceGUI.
Definition at line 25 of file class.ilTestOutputGUI.php.
References $_GET, $cmd, $ilDB, $ilUser, ilTestServiceGUI\$lng, $ret, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestPlayerAbstractGUI\calculateSequence(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilTestServiceGUI\getCommand(), ilTestPlayerAbstractGUI\handlePasswordProtectionRedirect(), ilYuiUtil\initConnectionWithAnimation(), iljQueryUtil\initjQuery(), and ilTestPlayerAbstractGUI\initProcessLocker().
Here is the call graph for this function:
|
protected |
Definition at line 928 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$testSession, and ilLOTestQuestionAdapter\filterQuestions().
Referenced by redirectQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 890 of file class.ilTestOutputGUI.php.
References $ilDB, ilTestServiceGUI\$tree, ilTestRandomQuestionSetBuilder\getInstance(), and performTearsAndAngerBrokenConfessionChecks().
Referenced by redirectQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 711 of file class.ilTestOutputGUI.php.
References $_GET.
|
protected |
Definition at line 921 of file class.ilTestOutputGUI.php.
References ilLOSettings\isObjectiveTest().
Referenced by redirectQuestionCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 841 of file class.ilTestOutputGUI.php.
References $_GET, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 688 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$sequence.
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 693 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
Here is the caller graph for this function:
|
private |
Definition at line 400 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
Here is the caller graph for this function:
|
protected |
Go to the next question.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 132 of file class.ilTestOutputGUI.php.
References $_GET, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Creates the learners output of a question.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 418 of file class.ilTestOutputGUI.php.
References $_SESSION, $ilLog, $ilUser, ilTestPlayerAbstractGUI\$sequence, ilObjTest\_getSolvedQuestions(), ilTestPlayerAbstractGUI\determineInlineScoreDisplay(), ilTestPlayerAbstractGUI\fillQuestionRelatedNavigation(), ilUtil\getJSLocation(), isLastQuestionInSequence(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilObjTest\isQuestionObligatory(), isValidSequenceElement(), OUTPUT_JAVASCRIPT, performCustomRedirect(), ilTestPlayerAbstractGUI\populateCancelButtonBlock(), ilTestPlayerAbstractGUI\populateCharSelector(), ilTestPlayerAbstractGUI\populateContentStyleBlock(), ilTestPlayerAbstractGUI\populateGenericFeedbackBlock(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToEndOfTest(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToQuestion(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToSummary(), ilTestPlayerAbstractGUI\populatePostponeButtons(), ilTestPlayerAbstractGUI\populatePreviousButtons(), ilTestPlayerAbstractGUI\populateQuestionMarkingBlockAsMarked(), ilTestPlayerAbstractGUI\populateQuestionMarkingBlockAsUnmarked(), ilTestPlayerAbstractGUI\populateScoreBlock(), ilTestPlayerAbstractGUI\populateSolutionBlock(), ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock(), ilTestPlayerAbstractGUI\populateSummaryButtons(), ilTestPlayerAbstractGUI\populateSyntaxStyleBlock(), ilUtil\sendFailure(), and ilTestPlayerAbstractGUI\showSideList().
Here is the call graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 949 of file class.ilTestOutputGUI.php.
References ilObject\_getAllReferences(), ilLink\_getLink(), and ilUtil\redirect().
Referenced by outWorkingForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 855 of file class.ilTestOutputGUI.php.
References $ilLog, and $ilUser.
Referenced by generateRandomTestPassForActiveUser().
Here is the caller graph for this function:
|
protected |
Postpone a question to the end of the test.
@access public
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 828 of file class.ilTestOutputGUI.php.
References $_GET, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Go to the previous question.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 148 of file class.ilTestOutputGUI.php.
References $_GET, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Called when a user answered a question to perform a redirect after POST.
This is called for security reasons to prevent users sending a form twice. --> description up to date ??
@access public
Definition at line 168 of file class.ilTestOutputGUI.php.
References $_GET, $_SESSION, $ilUser, ilObjTest\allObligationsAnswered(), ilTestPlayerAbstractGUI\calculateSequence(), filterTestSequenceByObjectives(), generateRandomTestPassForActiveUser(), getObjectiveOrientedContainerId(), ilTestPlayerAbstractGUI\outQuestionSummaryCmd(), ilTestPlayerAbstractGUI\outTestPage(), and ilUtil\sendInfo().
Referenced by startTestCmd().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestOutputGUI::saveQuestionSolution | ( | $force = FALSE | ) |
saves the user input of a question
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 719 of file class.ilTestOutputGUI.php.
References $_GET, $_POST, $_SESSION, $ilUser, $pass, ilTestPlayerAbstractGUI\$saveResult, canSaveResult(), OUTPUT_JAVASCRIPT, updateContainerObjectivesWithAnsweredQuestion(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Referenced by handleQuestionActionCmd(), nextQuestionCmd(), postponeQuestionCmd(), previousQuestionCmd(), showInstantResponseCmd(), and showQuestionListCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 780 of file class.ilTestOutputGUI.php.
References $_GET, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 796 of file class.ilTestOutputGUI.php.
References $_GET, ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 817 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 123 of file class.ilTestOutputGUI.php.
References $_GET, and redirectQuestionCmd().
Here is the call graph for this function:
|
protected |
Definition at line 935 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$testSession, ilTestSequence\saveToDb(), and ilLOTestQuestionAdapter\updateObjectiveStatus().
Referenced by saveQuestionSolution().
Here is the call graph for this function:
Here is the caller graph for this function: