ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Output class for assessment test execution. More...
Public Member Functions | |
executeCommand () | |
Execute Command. More... | |
saveQuestionSolution ($authorized=true, $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... | |
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 () | |
autosaveCmd () | |
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... | |
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, $obligationsNotAnswered=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, $targetCmd='') | |
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) | |
Protected Attributes | |
$questionRelatedObjectivesList | |
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 | |
isValidSequenceElement ($sequenceElement) | |
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 | |
Data Fields inherited from ilTestServiceGUI | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
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 20 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 845 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\$assSettings, $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 599 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\isMaxProcessingTimeReached(), and ilTestPlayerAbstractGUI\isNrOfTriesReached().
Referenced by saveQuestionSolution().
|
protected |
Definition at line 490 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 399 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestOutputGUI::executeCommand | ( | ) |
Execute Command.
Definition at line 30 of file class.ilTestOutputGUI.php.
References $_GET, $cmd, $ilDB, ilTestServiceGUI\$lng, $ret, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestPlayerAbstractGUI\checkReadAccess(), ilTestPlayerAbstractGUI\checkTestExecutable(), ilTestPlayerAbstractGUI\checkTestSessionUser(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilTestPlayerAbstractGUI\getAnswerChangedParameter(), ilTestServiceGUI\getCommand(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestPlayerAbstractGUI\handlePasswordProtectionRedirect(), ilTestPlayerAbstractGUI\initAssessmentSettings(), ilYuiUtil\initConnectionWithAnimation(), iljQueryUtil\initjQuery(), ilTestPlayerAbstractGUI\initProcessLocker(), ilTestPlayerCommands\isTestExecutionCommand(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 759 of file class.ilTestOutputGUI.php.
References $ilDB, ilTestServiceGUI\$tree, ilTestRandomQuestionSetBuilder\getInstance(), and performTearsAndAngerBrokenConfessionChecks().
Referenced by resumePlayerCmd(), and startTestCmd().
|
protected |
|
protected |
ilTestNavigationToolbarGUI | $navigationToolbarGUI |
Definition at line 899 of file class.ilTestOutputGUI.php.
References assQuestion\getQuestionsMissingResultRecord(), object, and ilTestNavigationToolbarGUI\setFinishTestButtonPrimary().
Referenced by showQuestionCmd().
|
protected |
Definition at line 706 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), saveQuestionSolution(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Definition at line 531 of file class.ilTestOutputGUI.php.
References assQuestion\_isWorkedThrough().
Referenced by nextQuestionCmd().
|
protected |
Definition at line 889 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\backToInfoScreenCmd(), and ilUtil\sendFailure().
Referenced by showQuestionCmd().
|
protected |
Definition at line 584 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 589 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 867 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 884 of file class.ilTestOutputGUI.php.
|
protected |
Definition at line 840 of file class.ilTestOutputGUI.php.
|
private |
Definition at line 238 of file class.ilTestOutputGUI.php.
Referenced by nextQuestionCmd(), previousQuestionCmd(), showQuestionCmd(), skipQuestionCmd(), and submitSolutionAndNextCmd().
|
protected |
Definition at line 546 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getCurrentSequenceElement(), handleQuestionPostponing(), isValidSequenceElement(), object, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 724 of file class.ilTestOutputGUI.php.
References $ilLog, and $ilUser.
Referenced by generateRandomTestPassForActiveUser().
|
abstractprotected |
Referenced by adoptUserSolutionsFromPreviousPass(), and showQuestionCmd().
|
protected |
Definition at line 567 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getCurrentSequenceElement(), isValidSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Resume a test at the last position.
Definition at line 793 of file class.ilTestOutputGUI.php.
References $_SESSION, generateRandomTestPassForActiveUser(), ilTestPlayerAbstractGUI\handleUserSettings(), object, ilTestPlayerCommands\QUESTION_SUMMARY, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestOutputGUI::saveQuestionSolution | ( | $authorized = true , |
|
$force = false |
|||
) |
saves the user input of a question
Definition at line 615 of file class.ilTestOutputGUI.php.
References $_GET, $_POST, $_SESSION, $pass, ilTestPlayerAbstractGUI\$saveResult, ilObjTest\_getPass(), canSaveResult(), ilLOTestQuestionAdapter\getInstance(), ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestPlayerAbstractGUI\handleSkillTriggering(), object, and ilTestPlayerAbstractGUI\updateWorkingTime().
Referenced by handleQuestionActionCmd(), showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 673 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getAnswerChangedParameter(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilTestPlayerAbstractGUI\registerForcedFeedbackNavUrl(), ilTestPlayerAbstractGUI\removeIntermediateSolution(), ilTestPlayerAbstractGUI\saveNavigationPreventConfirmation(), saveQuestionSolution(), ilTestPlayerAbstractGUI\setAnswerChangedParameter(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 258 of file class.ilTestOutputGUI.php.
References $_SESSION, assQuestion\_isWorkedThrough(), ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilLOTestQuestionAdapter\getInstance(), ilTestPlayerAbstractGUI\getInstantResponseParameter(), ilTestPlayerAbstractGUI\getQuestionGuiInstance(), ilTestPlayerAbstractGUI\getRegisteredForcedFeedbackNavUrl(), ilTestPlayerAbstractGUI\getTestNavigationToolbarGUI(), handlePrimaryButton(), handleTearsAndAngerNoObjectiveOrientedQuestion(), ilTestPlayerAbstractGUI\handleTearsAndAngerQuestionIsNull(), ilTestPlayerAbstractGUI\isForcedFeedbackNavUrlRegistered(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilObjTest\isQuestionObligatory(), isValidSequenceElement(), object, ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\populateInstantResponseModal(), ilTestPlayerAbstractGUI\populateQuestionNavigation(), populateQuestionOptionalMessage(), ilTestPlayerAbstractGUI\populateTestNavigationToolbar(), ilTestPlayerAbstractGUI\prepareTestPage(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, ilTestPlayerAbstractGUI\showQuestionEditable(), ilTestPlayerAbstractGUI\showQuestionViewable(), ilTestPlayerCommands\SUBMIT_INTERMEDIATE_SOLUTION, and ilTestPlayerAbstractGUI\unregisterForcedFeedbackNavUrl().
|
protected |
Definition at line 509 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getCurrentSequenceElement(), isValidSequenceElement(), object, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 150 of file class.ilTestOutputGUI.php.
References $_SESSION, $ilUser, adoptUserSolutionsFromPreviousPass(), generateRandomTestPassForActiveUser(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), object, ilTestPlayerCommands\QUESTION_SUMMARY, ilTestPlayerCommands\SHOW_QUESTION, and updateLearningProgressOnTestStart().
|
protected |
Definition at line 405 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getCurrentSequenceElement(), isValidSequenceElement(), object, ilTestPlayerAbstractGUI\removeIntermediateSolution(), saveQuestionSolution(), ilTestPlayerCommands\SHOW_QUESTION, and submitSolutionCmd().
|
protected |
Definition at line 437 of file class.ilTestOutputGUI.php.
References ilTestPlayerAbstractGUI\getCurrentSequenceElement(), ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilTestPlayerAbstractGUI\getNextCommandParameter(), ilTestPlayerAbstractGUI\getNextSequenceParameter(), object, ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, ilUtil\redirect(), ilTestPlayerAbstractGUI\removeIntermediateSolution(), ilTestPlayerAbstractGUI\saveNavigationPreventConfirmation(), saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by submitSolutionAndNextCmd().
|
protected |
Definition at line 229 of file class.ilTestOutputGUI.php.
References $ilUser, ilLPStatusWrapper\_updateStatus(), and object.
Referenced by startTestCmd().
|
protected |
Definition at line 25 of file class.ilTestOutputGUI.php.