ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Output class for assessment test execution. More...
Public Member Functions | |
__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... | |
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 () | |
![]() | |
isContextResultPresentation () | |
setContextResultPresentation ($contextResultPresentation) | |
ilTestServiceGUI (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) | |
Data Fields | |
const | PRESENTATION_MODE_VIEW = 'view' |
const | PRESENTATION_MODE_EDIT = 'edit' |
$ref_id | |
$saveResult | |
$sequence | |
$cmdCtrl | |
$maxProcessingTimeReached | |
$endingTimeReached | |
![]() | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
Protected Attributes | |
$passwordChecker | |
$processLocker | |
$testSession | |
$assSettings | |
$testSequence = null | |
![]() | |
$db | |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
Private Member Functions | |
buildNextButtonInstance ($disabled) | |
buildPreviousButtonInstance ($disabled) | |
endingTimeReached () | |
handle endingTimeReached More... | |
Private Attributes | |
$cachedQuestionGuis = array() | |
$cachedQuestionObjects = array() | |
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 25 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::__construct | ( | $a_object | ) |
ilTestOutputGUI constructor
ilObjTest | $a_object |
Definition at line 67 of file class.ilTestPlayerAbstractGUI.php.
References $_GET, $ilUser, and ilTestServiceGUI\$lng.
ilTestPlayerAbstractGUI::accessCodeConfirmedCmd | ( | ) |
Definition at line 488 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 773 of file class.ilTestPlayerAbstractGUI.php.
References $_GET, isTestSignRedirectRequired(), ilUtil\redirect(), REDIRECT_KIOSK, redirectBackCmd(), and ilTestPlayerCommands\SHOW_FINAL_STATMENT.
|
protected |
$active |
Definition at line 844 of file class.ilTestPlayerAbstractGUI.php.
References $file, $filename, ilTestServiceGUI\$ilias, $ilSetting, $pass, $path, $results, $testSequence, ilTestServiceGUI\buildQuestionRelatedObjectivesList(), ilTestArchiver\DIR_SEP, ilTestPDFGenerator\generatePDF(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilUtil\getWebspaceDir(), ilUtil\makeDirParents(), and ilTestPDFGenerator\PDF_OUTPUT_FILE.
ilTestPlayerAbstractGUI::autosaveCmd | ( | ) |
Definition at line 547 of file class.ilTestPlayerAbstractGUI.php.
References $_POST, $res, $result, canSaveResult(), exit, getCurrentQuestionId(), isParticipantsAnswerFixed(), ilTestPlayerCommands\REDIRECT_ON_TIME_LIMIT, and saveQuestionSolution().
ilTestPlayerAbstractGUI::backFromFinishingCmd | ( | ) |
Definition at line 1539 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 972 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\handleTearsAndAngerNoObjectiveOrientedQuestion(), and redirectBackCmd().
|
protected |
Definition at line 1962 of file class.ilTestPlayerAbstractGUI.php.
References $pass, ilObjTest\_getSolvedQuestions(), ilTestPlayerCommands\CONFIRM_HINT_REQUEST, ilTestPlayerCommands\MARK_QUESTION_SAVE, ilTestPlayerCommands\SHOW_INSTANT_RESPONSE, ilTestPlayerCommands\SHOW_REQUESTED_HINTS_LIST, ilTestPlayerCommands\SUBMIT_SOLUTION, ilTestPlayerCommands\SUBMIT_SOLUTION_AND_NEXT, and ilTestPlayerCommands\UNMARK_QUESTION_SAVE.
Referenced by showQuestionEditable().
|
private |
$disabled |
Definition at line 290 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerNavButton\getInstance(), and ilTestPlayerCommands\NEXT_QUESTION.
Referenced by populateLowerNextButtonBlock(), and populateUpperNextButtonBlock().
|
private |
$disabled |
Definition at line 306 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerNavButton\getInstance(), and ilTestPlayerCommands\PREVIOUS_QUESTION.
Referenced by populateLowerPreviousButtonBlock(), and populateUpperPreviousButtonBlock().
|
protected |
$questionId |
Definition at line 2274 of file class.ilTestPlayerAbstractGUI.php.
Referenced by getQuestionGuiInstance().
|
protected |
Definition at line 1925 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getSolvedQuestions(), ilTestPlayerCommands\EDIT_SOLUTION, isParticipantsAnswerFixed(), ilTestPlayerCommands\MARK_QUESTION, and ilTestPlayerCommands\UNMARK_QUESTION.
Referenced by showQuestionViewable().
|
abstractprotected |
|
protected |
Definition at line 1854 of file class.ilTestPlayerAbstractGUI.php.
|
abstractprotected |
ilTestPlayerAbstractGUI::checkOnlineTestAccess | ( | ) |
check access restrictions like client ip, partipating user etc.
check access restrictions like client ip, partipating user etc.
public
Definition at line 1247 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, $ilUser, and ilUtil\sendInfo().
|
protected |
Definition at line 81 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\executeCommand().
|
protected |
Definition at line 92 of file class.ilTestPlayerAbstractGUI.php.
References ilUtil\sendInfo().
Referenced by ilTestOutputGUI\executeCommand().
|
protected |
Definition at line 1845 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
The final submission of a test was confirmed.
Definition at line 642 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, ilTestPlayerCommands\BACK_FROM_FINISHING, finishTestCmd(), and populateHelperGuiContent().
|
protected |
Go to hint request confirmation.
Definition at line 1698 of file class.ilTestPlayerAbstractGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, handleQuestionActionCmd(), isFirstQuestionInSequence(), isLastQuestionInSequence(), nextQuestionCmd(), previousQuestionCmd(), saveQuestionSolution(), and showInstantResponseCmd().
ilTestPlayerAbstractGUI::confirmSubmitAnswers | ( | ) |
confirm submit results if confirm then results are submitted and the screen will be redirected to the startpage of the test public
Definition at line 1320 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName().
|
protected |
Definition at line 203 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 1198 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getUsePreviousAnswers(), discardSolutionCmd(), editSolutionCmd(), showQuestionCmd(), skipQuestionCmd(), startTestCmd(), and submitSolutionCmd().
Referenced by showQuestionEditable().
|
abstractprotected |
ilTestPlayerAbstractGUI::displayAccessCodeCmd | ( | ) |
Definition at line 476 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\ACCESS_CODE_CONFIRMED, and getContentBlockName().
|
abstractprotected |
|
private |
handle endingTimeReached
Definition at line 1293 of file class.ilTestPlayerAbstractGUI.php.
References ilFormat\ftimestamp2datetimeDB(), redirectBackCmd(), and ilUtil\sendInfo().
Referenced by prepareTestPage().
|
protected |
Definition at line 103 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, ilTestSession\doesAccessCodeInSessionExists(), ilTestSession\getAccessCodeFromSession(), ilTestSession\getActiveId(), ilTestSession\isAnonymousUser(), ilTestSession\saveToDb(), ilTestSession\setAnonymousId(), and ilTestSession\setUserId().
Referenced by ilTestOutputGUI\executeCommand(), and ilTestPlayerDynamicQuestionSetGUI\executeCommand().
ilTestPlayerAbstractGUI::finishTestCmd | ( | $requires_confirmation = true | ) |
Definition at line 667 of file class.ilTestPlayerAbstractGUI.php.
References $_GET, $_SESSION, ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, ilObjTest\allObligationsAnswered(), ilSession\getIdleValue(), performTestPassFinishedTasks(), ilTestPlayerCommands\QUESTION_SUMMARY_INC_OBLIGATIONS, and ilTestPlayerCommands\QUESTION_SUMMARY_OBLIGATIONS_ONLY.
Referenced by confirmFinishCmd().
ilTestPlayerAbstractGUI::getContentBlockName | ( | ) |
Returns the name of the current content block (depends on the kiosk mode setting)
Definition at line 1661 of file class.ilTestPlayerAbstractGUI.php.
Referenced by confirmSubmitAnswers(), displayAccessCodeCmd(), initTestPageTemplate(), outQuestionSummaryCmd(), populateHelperGuiContent(), populateMessageContent(), prepareSummaryPage(), redirectAfterAutosaveCmd(), showFinalStatementCmd(), showListOfAnswers(), and showMaximumAllowedUsersReachedMessage().
|
abstractprotected |
Referenced by autosaveCmd(), and redirectAfterAutosaveCmd().
|
protected |
Definition at line 2148 of file class.ilTestPlayerAbstractGUI.php.
References getSequenceElementParameter().
Referenced by ilTestOutputGUI\discardSolutionCmd(), ilTestOutputGUI\executeCommand(), ilTestOutputGUI\handleQuestionActionCmd(), markQuestionCmd(), ilTestOutputGUI\nextQuestionCmd(), ilTestOutputGUI\previousQuestionCmd(), ilTestOutputGUI\showInstantResponseCmd(), ilTestOutputGUI\showQuestionCmd(), ilTestOutputGUI\skipQuestionCmd(), ilTestOutputGUI\submitSolutionAndNextCmd(), ilTestOutputGUI\submitSolutionCmd(), and unmarkQuestionCmd().
|
protected |
Definition at line 2050 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\allObligationsAnswered().
Referenced by getTestNavigationToolbarGUI().
|
protected |
Definition at line 2178 of file class.ilTestPlayerAbstractGUI.php.
References $_GET.
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
Definition at line 1791 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::getKioskHead | ( | ) |
Definition at line 990 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, and ilObjTest\buildExamId().
Referenced by outQuestionSummaryCmd(), and populateKioskHead().
ilTestPlayerAbstractGUI::getLockParameter | ( | ) |
Definition at line 432 of file class.ilTestPlayerAbstractGUI.php.
References $_GET, $_POST, and resumePlayerCmd().
Referenced by handlePasswordProtectionRedirect(), and startPlayerCmd().
|
protected |
Definition at line 2188 of file class.ilTestPlayerAbstractGUI.php.
References $_POST.
Referenced by ilTestPlayerDynamicQuestionSetGUI\submitSolutionCmd(), and ilTestOutputGUI\submitSolutionCmd().
|
protected |
Definition at line 2198 of file class.ilTestPlayerAbstractGUI.php.
References $_POST.
Referenced by ilTestPlayerDynamicQuestionSetGUI\submitSolutionCmd(), and ilTestOutputGUI\submitSolutionCmd().
|
protected |
Definition at line 2168 of file class.ilTestPlayerAbstractGUI.php.
References $_GET.
Referenced by populateNavWhileEditModal(), ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
$questionId | |
$sequenceElement |
Definition at line 2218 of file class.ilTestPlayerAbstractGUI.php.
References buildQuestionAnswerShuffler(), OUTPUT_JAVASCRIPT, and assQuestionGUI\PRESENTATION_CONTEXT_TEST.
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
$questionId |
Definition at line 2244 of file class.ilTestPlayerAbstractGUI.php.
References $assSettings, $ilDB, $ilUser, ilObjAssessmentFolder\_enabledAssessmentLogging(), assQuestion\_instantiateQuestion(), and OUTPUT_JAVASCRIPT.
Referenced by ilTestPlayerDynamicQuestionSetGUI\discardSolutionCmd(), ilTestOutputGUI\discardSolutionCmd(), ilTestOutputGUI\saveQuestionSolution(), ilTestPlayerDynamicQuestionSetGUI\submitSolutionAndNextCmd(), ilTestOutputGUI\submitSolutionAndNextCmd(), ilTestPlayerDynamicQuestionSetGUI\submitSolutionCmd(), and ilTestOutputGUI\submitSolutionCmd().
|
protected |
Definition at line 2426 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
Definition at line 2158 of file class.ilTestPlayerAbstractGUI.php.
References $_GET.
Referenced by getCurrentSequenceElement(), and ilTestPlayerDynamicQuestionSetGUI\getQuestionIdParameter().
|
protected |
Definition at line 1909 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, and getFinishTestCommand().
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
Definition at line 1754 of file class.ilTestPlayerAbstractGUI.php.
References getLockParameter().
Referenced by ilTestOutputGUI\executeCommand(), and ilTestPlayerDynamicQuestionSetGUI\executeCommand().
|
abstractprotected |
|
protected |
ilTestSession | $testSession |
Definition at line 1804 of file class.ilTestPlayerAbstractGUI.php.
References buildTestPassQuestionList(), ilObjAssessmentFolder\DEFAULT_SKL_TRIG_NUM_ANSWERS_BARRIER, ilTestSession\getActiveId(), ilTestSession\getPass(), ilTestSession\getUserId(), and ilTestSkillEvaluation\setUserId().
Referenced by ilTestOutputGUI\saveQuestionSolution(), and ilTestPlayerDynamicQuestionSetGUI\saveQuestionSolution().
|
protected |
$sequence | |
$questionId | |
$ilLog |
Definition at line 2291 of file class.ilTestPlayerAbstractGUI.php.
References $ilLog, and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
ilTestPlayerAbstractGUI::handleUserSettings | ( | ) |
Handles some form parameters on starting and resuming a test.
Definition at line 496 of file class.ilTestPlayerAbstractGUI.php.
References $_POST, and $ilUser.
Referenced by ilTestPlayerDynamicQuestionSetGUI\resumePlayerCmd(), ilTestOutputGUI\resumePlayerCmd(), and startPlayerCmd().
|
protected |
Definition at line 1796 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\executeCommand(), and ilTestPlayerDynamicQuestionSetGUI\executeCommand().
|
protected |
Definition at line 127 of file class.ilTestPlayerAbstractGUI.php.
References $ilDB.
Referenced by ilTestOutputGUI\executeCommand(), and ilTestPlayerDynamicQuestionSetGUI\executeCommand().
|
protected |
Start a test for the first time after a redirect.
Definition at line 454 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\DISPLAY_ACCESS_CODE, showMaximumAllowedUsersReachedMessage(), and ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 1733 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName().
Referenced by prepareTestPage().
|
abstractprotected |
Referenced by confirmHintRequestCmd(), and populateQuestionNavigation().
|
abstractprotected |
Referenced by confirmHintRequestCmd(), and populateQuestionNavigation().
ilTestPlayerAbstractGUI::isMaxProcessingTimeReached | ( | ) |
Checks wheather the maximum processing time is reached or not.
Checks wheather the maximum processing time is reached or not
Definition at line 188 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser.
Referenced by ilTestOutputGUI\canSaveResult(), isTestAccessible(), and prepareTestPage().
ilTestPlayerAbstractGUI::isNrOfTriesReached | ( | ) |
nr of tries exceeded
Definition at line 1283 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\canSaveResult(), and isTestAccessible().
|
abstractprotected |
|
protected |
Definition at line 1773 of file class.ilTestPlayerAbstractGUI.php.
Referenced by autosaveCmd(), buildReadOnlyStateQuestionNavigationGUI(), ilTestOutputGUI\handleQuestionActionCmd(), ilTestPlayerDynamicQuestionSetGUI\handleQuestionActionCmd(), ilTestOutputGUI\showInstantResponseCmd(), ilTestPlayerDynamicQuestionSetGUI\showInstantResponseCmd(), ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
abstractprotected |
Referenced by outQuestionSummaryCmd(), and showSideList().
|
abstractprotected |
Referenced by prepareTestPage(), showQuestionEditable(), and showQuestionViewable().
ilTestPlayerAbstractGUI::isTestAccessible | ( | ) |
test accessible returns true if the user can perform the test
Definition at line 1272 of file class.ilTestPlayerAbstractGUI.php.
References isMaxProcessingTimeReached(), and isNrOfTriesReached().
|
protected |
Definition at line 815 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and IL_COMP_MODULE.
Referenced by afterTestPassFinishedCmd().
|
protected |
Definition at line 599 of file class.ilTestPlayerAbstractGUI.php.
References markQuestionCmd(), and saveQuestionSolution().
|
protected |
Set a question solved.
Definition at line 608 of file class.ilTestPlayerAbstractGUI.php.
References getCurrentSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by markQuestionAndSaveIntermediateCmd().
ilTestPlayerAbstractGUI::maxProcessingTimeReached | ( | ) |
Outputs a message when the maximum processing time is reached.
Outputs a message when the maximum processing time is reached
public
Definition at line 1310 of file class.ilTestPlayerAbstractGUI.php.
References suspendTestCmd().
Referenced by prepareTestPage().
|
abstractprotected |
ilTestPlayerAbstractGUI::outCorrectSolution | ( | ) |
Creates an output of the solution of an answer compared to the correct solution.
public
Definition at line 1549 of file class.ilTestPlayerAbstractGUI.php.
References $_GET, ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getCorrectSolutionOutput(), ilUtil\getStyleSheetLocation(), and ilObjStyleSheet\getSyntaxStylePath().
ilTestPlayerAbstractGUI::outObligationsOnlySummaryCmd | ( | ) |
Definition at line 1522 of file class.ilTestPlayerAbstractGUI.php.
References outQuestionSummaryCmd().
ilTestPlayerAbstractGUI::outProcessingTime | ( | $active_id | ) |
Definition at line 1340 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, ilDatePresentation\formatDate(), and IL_CAL_FKT_GETDATE.
Referenced by outQuestionSummaryCmd(), prepareTestPage(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionSelectionCmd().
ilTestPlayerAbstractGUI::outQuestionSummaryCmd | ( | $fullpage = true , |
|
$contextFinishTest = false , |
|||
$obligationsNotAnswered = false , |
|||
$obligationsFilter = false |
|||
) |
Output of a summary of all test questions for test participants.
Definition at line 1463 of file class.ilTestPlayerAbstractGUI.php.
References $_GET, getContentBlockName(), getKioskHead(), isQuestionSummaryFinishTestButtonRequired(), outProcessingTime(), and ilUtil\sendFailure().
Referenced by outObligationsOnlySummaryCmd(), and outQuestionSummaryWithObligationsInfoCmd().
ilTestPlayerAbstractGUI::outQuestionSummaryWithObligationsInfoCmd | ( | ) |
Definition at line 1517 of file class.ilTestPlayerAbstractGUI.php.
References outQuestionSummaryCmd().
ilTestPlayerAbstractGUI::outUserResultsOverviewCmd | ( | ) |
Definition at line 1675 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 763 of file class.ilTestPlayerAbstractGUI.php.
Referenced by finishTestCmd(), and redirectAfterAutosaveCmd().
|
protected |
Definition at line 1887 of file class.ilTestPlayerAbstractGUI.php.
References $ilSetting, ilCharSelectorGUI\_getCurrentGUI(), and ilCharSelectorConfig\ENABLED.
Referenced by showQuestionEditable().
|
protected |
Definition at line 376 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getContentStylePath().
Referenced by prepareTestPage().
|
protected |
Definition at line 2338 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$tpl, ilTestPlayerCommands\DISCARD_SOLUTION, ilSubmitButton\getInstance(), ilLinkButton\getInstance(), and ilModalGUI\getInstance().
Referenced by populateModals().
|
protected |
Definition at line 329 of file class.ilTestPlayerAbstractGUI.php.
References ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG, and assQuestionGUI\getGenericFeedbackOutput().
Referenced by populateInstantResponseBlocks().
|
protected |
$helperGui |
Definition at line 1871 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName().
Referenced by confirmFinishCmd(), and showAnswerOptionalQuestionsConfirmation().
|
protected |
assQuestionGUI | $questionGui |
Definition at line 2096 of file class.ilTestPlayerAbstractGUI.php.
References determineInlineScoreDisplay(), assQuestionGUI\getSolutionOutput(), populateGenericFeedbackBlock(), populateScoreBlock(), populateSolutionBlock(), and populateSpecificFeedbackBlock().
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
assQuestionGUI | $questionGui |
Definition at line 2075 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\AUTO_SAVE, ilUtil\getJSLocation(), and assQuestionGUI\isAutosaveable().
Referenced by showQuestionEditable().
|
protected |
Definition at line 1740 of file class.ilTestPlayerAbstractGUI.php.
References getKioskHead(), and ilUtil\sendInfo().
Referenced by prepareSummaryPage(), and prepareTestPage().
|
protected |
Definition at line 246 of file class.ilTestPlayerAbstractGUI.php.
References buildNextButtonInstance().
Referenced by populateNextButtons().
|
protected |
Definition at line 266 of file class.ilTestPlayerAbstractGUI.php.
References buildPreviousButtonInstance().
Referenced by populatePreviousButtons().
|
protected |
$contentHTML |
Definition at line 2310 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName().
Referenced by ilTestPlayerDynamicQuestionSetGUI\showCheckedQuestionResettingConfirmation().
|
protected |
Definition at line 2323 of file class.ilTestPlayerAbstractGUI.php.
References populateDiscardSolutionModal(), and populateNavWhileEditModal().
Referenced by showQuestionEditable().
|
protected |
Definition at line 2371 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$tpl, ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ilModalGUI\getInstance(), getPresentationModeParameter(), and ilTestPlayerCommands\SUBMIT_SOLUTION.
Referenced by populateModals().
|
protected |
Definition at line 240 of file class.ilTestPlayerAbstractGUI.php.
References populateLowerNextButtonBlock(), and populateUpperNextButtonBlock().
Referenced by populateQuestionNavigation(), and ilTestPlayerDynamicQuestionSetGUI\populateQuestionNavigation().
|
protected |
Definition at line 234 of file class.ilTestPlayerAbstractGUI.php.
References populateLowerPreviousButtonBlock(), and populateUpperPreviousButtonBlock().
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 221 of file class.ilTestPlayerAbstractGUI.php.
References isFirstQuestionInSequence(), isLastQuestionInSequence(), populateNextButtons(), and populatePreviousButtons().
Referenced by ilTestOutputGUI\showQuestionCmd().
|
protected |
Definition at line 348 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 359 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 317 of file class.ilTestPlayerAbstractGUI.php.
Referenced by populateInstantResponseBlocks().
|
protected |
Definition at line 367 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getSyntaxStylePath().
Referenced by prepareTestPage().
|
protected |
Definition at line 214 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
Definition at line 256 of file class.ilTestPlayerAbstractGUI.php.
References buildNextButtonInstance().
Referenced by populateNextButtons().
|
protected |
Definition at line 276 of file class.ilTestPlayerAbstractGUI.php.
References buildPreviousButtonInstance().
Referenced by populatePreviousButtons().
|
protected |
Definition at line 1721 of file class.ilTestPlayerAbstractGUI.php.
References getContentBlockName(), and populateKioskHead().
Referenced by ilTestPlayerDynamicQuestionSetGUI\showQuestionSelectionCmd().
|
protected |
Definition at line 1028 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, endingTimeReached(), initTestPageTemplate(), isMaxProcessingTimeReached(), isOptionalQuestionAnsweringConfirmationRequired(), isShowingPostponeStatusReguired(), ilObjTest\lookupExamId(), maxProcessingTimeReached(), outProcessingTime(), populateContentStyleBlock(), populateKioskHead(), populateSyntaxStyleBlock(), ilTestPlayerCommands\RESUME_PLAYER, showAnswerOptionalQuestionsConfirmation(), and showSideList().
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
abstractprotected |
ilTestPlayerAbstractGUI::redirectAfterAutosaveCmd | ( | ) |
Definition at line 526 of file class.ilTestPlayerAbstractGUI.php.
References $url, ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, getContentBlockName(), getCurrentQuestionId(), and performTestPassFinishedTasks().
ilTestPlayerAbstractGUI::redirectBackCmd | ( | ) |
Definition at line 957 of file class.ilTestPlayerAbstractGUI.php.
References $GLOBALS, and backToInfoScreenCmd().
Referenced by afterTestPassFinishedCmd(), and endingTimeReached().
|
abstractprotected |
Resume a test at the last position.
Referenced by getLockParameter().
|
abstract |
saves the user input of a question
Referenced by autosaveCmd(), confirmHintRequestCmd(), markQuestionAndSaveIntermediateCmd(), showRequestedHintListCmd(), submitIntermediateSolutionCmd(), unmarkQuestionAndSaveIntermediateCmd(), and updateWorkingTime().
ilTestPlayerAbstractGUI::saveTagsCmd | ( | ) |
Save tags for tagging gui.
Needed this function here because the test info page uses another class to send its form results
Definition at line 145 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::setAnonymousIdCmd | ( | ) |
Sets a session variable with the test access code for an anonymous test user.
Sets a session variable with the test access code for an anonymous test user
Definition at line 391 of file class.ilTestPlayerAbstractGUI.php.
References $_POST.
|
protected |
Definition at line 1831 of file class.ilTestPlayerAbstractGUI.php.
References populateHelperGuiContent().
Referenced by prepareTestPage().
ilTestPlayerAbstractGUI::showFinalStatementCmd | ( | ) |
Definition at line 980 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, and getContentBlockName().
|
abstractprotected |
ilTestPlayerAbstractGUI::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)
integer | $active_id | Active id of the participant |
integer | $pass | Test pass of the participant |
boolean | $testnavigation | Deceides wheather to show a navigation for tests or not public |
Definition at line 1587 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, $pass, ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), getContentBlockName(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getResultsSignature(), and ilUtil\getStyleSheetLocation().
ilTestPlayerAbstractGUI::showMaximumAllowedUsersReachedMessage | ( | ) |
Definition at line 1527 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\BACK_TO_INFO_SCREEN, and getContentBlockName().
Referenced by initTestCmd(), and ilTestPlayerDynamicQuestionSetGUI\resumePlayerCmd().
|
abstractprotected |
|
protected |
Definition at line 1136 of file class.ilTestPlayerAbstractGUI.php.
References $_GET, $_SESSION, buildEditableStateQuestionNavigationGUI(), determineSolutionPassIndex(), isShowingPostponeStatusReguired(), assQuestionGUI\outQuestionForTest(), populateCharSelectorIfRequired(), populateIntermediateSolutionSaver(), populateModals(), assQuestionGUI\setNavigationGUI(), assQuestionGUI\setPreviousSolutionPrefilled(), and ilTestPlayerCommands\SKIP_QUESTION.
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
Definition at line 1096 of file class.ilTestPlayerAbstractGUI.php.
References buildReadOnlyStateQuestionNavigationGUI(), assQuestionGUI\getFormEncodingType(), assQuestionGUI\getSolutionOutput(), isShowingPostponeStatusReguired(), assQuestionGUI\outQuestionPage(), and assQuestionGUI\setNavigationGUI().
Referenced by ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
Go to requested hint list.
Definition at line 1685 of file class.ilTestPlayerAbstractGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, and saveQuestionSolution().
|
protected |
Definition at line 1433 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, ilUtil\getStyleSheetLocation(), and isQuestionSummaryFinishTestButtonRequired().
Referenced by prepareTestPage().
|
abstractprotected |
|
protected |
Start a test for the first time.
Start a test for the first time. This method contains a lock to prevent multiple submissions by the start test button
Definition at line 407 of file class.ilTestPlayerAbstractGUI.php.
References getLockParameter(), handleUserSettings(), and ilTestPlayerCommands\INIT_TEST.
|
abstractprotected |
|
protected |
Definition at line 581 of file class.ilTestPlayerAbstractGUI.php.
References saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
|
abstractprotected |
ilTestPlayerAbstractGUI::suspendTestCmd | ( | ) |
Definition at line 176 of file class.ilTestPlayerAbstractGUI.php.
Referenced by maxProcessingTimeReached().
ilTestPlayerAbstractGUI::toggleSideListCmd | ( | ) |
Toggle side list.
Definition at line 590 of file class.ilTestPlayerAbstractGUI.php.
References $ilUser, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 619 of file class.ilTestPlayerAbstractGUI.php.
References saveQuestionSolution(), and unmarkQuestionCmd().
|
protected |
Set a question unsolved.
Definition at line 628 of file class.ilTestPlayerAbstractGUI.php.
References getCurrentSequenceElement(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by unmarkQuestionAndSaveIntermediateCmd().
ilTestPlayerAbstractGUI::updateWorkingTime | ( | ) |
updates working time and stores state saveresult to see if question has to be stored or not
Definition at line 157 of file class.ilTestPlayerAbstractGUI.php.
References $_SESSION, canSaveResult(), and saveQuestionSolution().
Referenced by ilTestOutputGUI\handleQuestionActionCmd(), ilTestOutputGUI\saveQuestionSolution(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
|
protected |
Definition at line 55 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\adoptUserSolutionsFromPreviousPass(), and getQuestionInstance().
|
private |
Definition at line 2211 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 2238 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::$cmdCtrl |
Definition at line 33 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::$endingTimeReached |
Definition at line 35 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::$maxProcessingTimeReached |
Definition at line 34 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 40 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 45 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::$ref_id |
Definition at line 30 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::$saveResult |
Definition at line 31 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestOutputGUI\saveQuestionSolution(), and ilTestPlayerDynamicQuestionSetGUI\saveQuestionSolution().
ilTestPlayerAbstractGUI::$sequence |
Definition at line 32 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 60 of file class.ilTestPlayerAbstractGUI.php.
Referenced by archiveParticipantSubmission().
|
protected |
Definition at line 50 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_EDIT = 'edit' |
Definition at line 28 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\editSolutionCmd(), ilTestOutputGUI\editSolutionCmd(), ilTestPlayerDynamicQuestionSetGUI\showInstantResponseCmd(), ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd().
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_VIEW = 'view' |
Definition at line 27 of file class.ilTestPlayerAbstractGUI.php.
Referenced by ilTestPlayerDynamicQuestionSetGUI\discardSolutionCmd(), ilTestOutputGUI\discardSolutionCmd(), ilTestPlayerDynamicQuestionSetGUI\showInstantResponseCmd(), ilTestOutputGUI\showQuestionCmd(), ilTestPlayerDynamicQuestionSetGUI\showQuestionCmd(), ilTestPlayerDynamicQuestionSetGUI\submitSolutionCmd(), and ilTestOutputGUI\submitSolutionCmd().