|
ILIAS
Release_4_4_x_branch Revision 61816
|
Output class for assessment test execution. More...
Inheritance diagram for ilTestOutputGUI:
Collaboration diagram for ilTestOutputGUI: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. | |
| showPasswordProtectionPageCmd () | |
| Displays a password protection page when a test password is set. | |
| checkPasswordCmd () | |
| Check the password, a user entered for test access. | |
| setAnonymousIdCmd () | |
| Sets a session variable with the test access code for an anonymous test user. | |
| 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 () | |
| finishListOfAnswersCmd () | |
| 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 | |
| ilTestServiceGUI (ilObjTest $a_object) | |
| The constructor takes the test object reference as parameter. | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl command. | |
| getPassOverview ($active_id, $targetclass="", $targetcommand="", $short=FALSE, $hide_details=FALSE) | |
| Returns the pass overview for a given active ID. | |
| getFinalStatement ($active_id) | |
| Returns the final statement for a user. | |
| getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=FALSE, $only_answered_questions=FALSE, $show_question_only=FALSE, $show_reached_points=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. | |
| getPassDetailsOverview ($result_array, $active_id, $pass, $targetclass="", $targetcommandsort="", $targetcommanddetails="", $standard_header=TRUE) | |
| Returns the pass details overview for a given active ID and pass. | |
| 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, $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. | |
Private Member Functions | |
| isValidSequenceElement ($sequenceElement) | |
Additional Inherited Members | |
Data Fields inherited from ilTestPlayerAbstractGUI | |
| $ref_id | |
| $saveResult | |
| $sequence | |
| $cmdCtrl | |
| $maxProcessingTimeReached | |
| $endingTimeReached | |
Protected Attributes inherited from ilTestPlayerAbstractGUI | |
| $processLocker | |
| $testSession | |
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
ilTestOutputGUI: ilAssQuestionHintRequestGUI, ilAssSpecFeedbackPageGUI, ilAssGenFeedbackPageGUI ilTestOutputGUI: ilTestSignatureGUI ilTestOutputGUI: ilAssQuestionPageGUI
Definition at line 24 of file class.ilTestOutputGUI.php.
|
protected |
Returns TRUE if the answers of the current user could be saved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 638 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:| ilTestOutputGUI::executeCommand | ( | ) |
Execute Command.
Reimplemented from ilTestServiceGUI.
Definition at line 29 of file class.ilTestOutputGUI.php.
References $_GET, $cmd, $ilUser, ilTestServiceGUI\$lng, $ret, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestPlayerAbstractGUI\calculateSequence(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilTestServiceGUI\getCommand(), ilYuiUtil\initConnectionWithAnimation(), iljQueryUtil\initjQuery(), and ilTestPlayerAbstractGUI\initProcessLocker().
Here is the call graph for this function:
|
protected |
Definition at line 785 of file class.ilTestOutputGUI.php.
References 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 740 of file class.ilTestOutputGUI.php.
References saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
Here is the call graph for this function:
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 623 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$sequence.
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 628 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
Here is the caller graph for this function:
|
private |
Definition at line 368 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 123 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Creates the learners output of a question.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 386 of file class.ilTestOutputGUI.php.
References $_SESSION, $ilLog, $ilUser, ilTestPlayerAbstractGUI\$sequence, ilObjTest\_getSolvedQuestions(), ilTestPlayerAbstractGUI\determineInlineScoreDisplay(), ilTestPlayerAbstractGUI\fillQuestionRelatedNavigation(), ilUtil\getImagePath(), ilUtil\getJSLocation(), isLastQuestionInSequence(), ilObjTest\isQuestionObligatory(), isValidSequenceElement(), OUTPUT_JAVASCRIPT, 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(), and ilTestPlayerAbstractGUI\showSideList().
Here is the call graph for this function:
|
protected |
Definition at line 750 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.
public
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 733 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Go to the previous question.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 133 of file class.ilTestOutputGUI.php.
References 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 ??
public
Definition at line 147 of file class.ilTestOutputGUI.php.
References $_GET, $_SESSION, $ilUser, ilObjTest\allObligationsAnswered(), ilTestPlayerAbstractGUI\calculateSequence(), generateRandomTestPassForActiveUser(), 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 646 of file class.ilTestOutputGUI.php.
References $_GET, $_POST, $_SESSION, $ilUser, $pass, ilTestPlayerAbstractGUI\$saveResult, canSaveResult(), OUTPUT_JAVASCRIPT, 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 700 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 707 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 722 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 114 of file class.ilTestOutputGUI.php.
References $_GET, and redirectQuestionCmd().
Here is the call graph for this function: