ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Public Member Functions | |
executeCommand () | |
execute command More... | |
saveQuestionSolution ($authorized=true, $force=false) | |
saves the user input of a question More... | |
outQuestionSummaryCmd ($fullpage=true, $contextFinishTest=false, $obligationsNotAnswered=false, $obligationsFilter=false) | |
![]() | |
__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) | |
Protected Attributes | |
$testSequence | |
$testSession | |
![]() | |
$passwordChecker | |
$processLocker | |
$testSession | |
$assSettings | |
$testSequence = null | |
![]() | |
$db | |
$tabs | |
$objCache | |
$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 | |
Additional Inherited Members | |
![]() | |
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 | |
Definition at line 29 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 970 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References getPassDeletionTarget().
|
protected |
Definition at line 842 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().
|
private |
Definition at line 881 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetStatisticTableGUI(), and ilTestDynamicQuestionSetStatisticTableGUI\COMPLETE_TABLE_ID.
Referenced by showQuestionSelectionCmd().
|
private |
Definition at line 894 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetStatisticTableGUI(), ilTestDynamicQuestionSetStatisticTableGUI\FILTERED_TABLE_ID, and ilObjTaxonomy\getUsageOfObject().
Referenced by executeCommand(), filterQuestionSelectionCmd(), resetQuestionSelectionCmd(), and showQuestionSelectionCmd().
|
private |
Definition at line 920 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
Referenced by buildQuestionSetCompleteStatisticTableGUI(), and buildQuestionSetFilteredStatisticTableGUI().
|
protected |
|
protected |
Definition at line 1066 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilAssQuestionList\QUESTION_INSTANCE_TYPE_ORIGINALS.
|
protected |
Returns TRUE if the answers of the current user could be saved.
Definition at line 718 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by saveQuestionSolution().
|
protected |
Definition at line 427 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 358 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerDynamicQuestionSetGUI::executeCommand | ( | ) |
execute command
Definition at line 49 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $cmd, $ilDB, ilTestServiceGUI\$lng, $ret, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestServiceGUI\$tree, buildQuestionSetFilteredStatisticTableGUI(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilTestPlayerAbstractGUI\handlePasswordProtectionRedirect(), ilTestPlayerAbstractGUI\initAssessmentSettings(), ilYuiUtil\initConnectionWithAnimation(), ilOverlayGUI\initJavascript(), iljQueryUtil\initjQuery(), ilTestPlayerAbstractGUI\initProcessLocker(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 267 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilAssQuestionList\ANSWER_STATUS_FILTER_ALL_NON_CORRECT, buildQuestionSetFilteredStatisticTableGUI(), and ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
|
protected |
Definition at line 319 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References resetCurrentQuestion(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 152 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 930 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by showQuestionSelectionCmd().
|
private |
Definition at line 982 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER.
Referenced by buildFinishPagePassDeletionLink(), and showQuestionSelectionCmd().
|
protected |
Definition at line 993 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getSequenceElementParameter().
Referenced by showQuestionCmd().
|
protected |
Definition at line 998 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET.
Referenced by isCheckedQuestionResettingConfirmationRequired().
|
protected |
Definition at line 1052 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerCommands\SHOW_QUESTION.
Referenced by showQuestionSelectionCmd().
|
protected |
Definition at line 665 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 447 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References getResetCheckedParameter().
Referenced by showQuestionCmd().
|
protected |
Definition at line 703 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 708 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by populateQuestionNavigation().
|
protected |
Definition at line 1083 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 786 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and assQuestion\_getReachedPoints().
Referenced by persistQuestionAnswerStatus().
|
protected |
Definition at line 1078 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 1061 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 342 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $ilUser, and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 325 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References assQuestion\_isWorkedThrough(), resetCurrentQuestion(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by skipQuestionCmd().
|
private |
Definition at line 683 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestServiceGUI\$tpl.
Referenced by showQuestionCmd().
ilTestPlayerDynamicQuestionSetGUI::outQuestionSummaryCmd | ( | $fullpage = true , |
|
$contextFinishTest = false , |
|||
$obligationsNotAnswered = false , |
|||
$obligationsFilter = false |
|||
) |
Definition at line 1009 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 940 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and isQuestionAnsweredCorrect().
Referenced by submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 1044 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References isLastQuestionInSequence(), and ilTestPlayerAbstractGUI\populateNextButtons().
Referenced by showQuestionCmd().
|
protected |
Definition at line 314 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 958 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by fromPassDeletionCmd(), nextQuestionCmd(), and submitSolutionAndNextCmd().
|
protected |
Definition at line 299 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetFilteredStatisticTableGUI(), and ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
|
protected |
Resume a test at the last position.
Definition at line 160 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\handleUserSettings(), ilTestPlayerCommands\SHOW_QUESTION, ilTestPlayerCommands\SHOW_QUESTION_SELECTION, and ilTestPlayerAbstractGUI\showMaximumAllowedUsersReachedMessage().
ilTestPlayerDynamicQuestionSetGUI::saveQuestionSolution | ( | $authorized = true , |
|
$force = false |
|||
) |
saves the user input of a question
Definition at line 726 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $_POST, $_SESSION, $pass, ilTestPlayerAbstractGUI\$saveResult, canSaveResult(), ilTestPlayerAbstractGUI\handleSkillTriggering(), and OUTPUT_JAVASCRIPT.
Referenced by handleQuestionActionCmd(), showInstantResponseCmd(), submitSolutionAndNextCmd(), and submitSolutionCmd().
|
protected |
Definition at line 1020 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\populateMessageContent(), ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerCommands\UNFREEZE_ANSWERS.
Referenced by showQuestionCmd().
|
protected |
Definition at line 620 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 469 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References assQuestion\_isWorkedThrough(), ilTestPlayerAbstractGUI\getInstantResponseParameter(), ilTestPlayerAbstractGUI\getPresentationModeParameter(), ilTestPlayerAbstractGUI\getQuestionGuiInstance(), getQuestionIdParameter(), ilTestPlayerAbstractGUI\getQuestionsDefaultPresentationMode(), ilTestPlayerAbstractGUI\getTestNavigationToolbarGUI(), ilTestPlayerAbstractGUI\handleTearsAndAngerQuestionIsNull(), isCheckedQuestionResettingConfirmationRequired(), ilTestPlayerAbstractGUI\isParticipantsAnswerFixed(), ilObjTest\isQuestionObligatory(), outCurrentlyFinishedPage(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), populateQuestionNavigation(), ilTestPlayerAbstractGUI\populateTestNavigationToolbar(), ilTestPlayerAbstractGUI\prepareTestPage(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_EDIT, ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, showCheckedQuestionResettingConfirmation(), ilTestPlayerAbstractGUI\showQuestionEditable(), ilTestPlayerAbstractGUI\showQuestionViewable(), ilTestPlayerCommands\SUBMIT_INTERMEDIATE_SOLUTION, and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Definition at line 201 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetAnswerStatisticRowArray(), buildQuestionSetCompleteStatisticTableGUI(), buildQuestionSetFilteredStatisticTableGUI(), ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER, getEnterTestButtonLangVar(), ilLinkButton\getInstance(), getPassDeletionTarget(), getStartTestFromQuestionSelectionLink(), ilTestPlayerAbstractGUI\outProcessingTime(), ilTestPlayerAbstractGUI\prepareSummaryPage(), ilTestPlayerCommands\SUSPEND_TEST, and vd().
|
protected |
Definition at line 442 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References nextQuestionCmd().
|
protected |
Definition at line 177 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_SESSION, ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerCommands\SHOW_QUESTION_SELECTION.
|
protected |
Definition at line 364 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getQuestionInstance(), persistQuestionAnswerStatus(), resetCurrentQuestion(), saveQuestionSolution(), ilTestPlayerCommands\SHOW_QUESTION, and submitSolutionCmd().
|
protected |
Definition at line 389 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\getNextCommandParameter(), ilTestPlayerAbstractGUI\getNextSequenceParameter(), ilTestPlayerAbstractGUI\getQuestionInstance(), persistQuestionAnswerStatus(), ilTestPlayerAbstractGUI\PRESENTATION_MODE_VIEW, saveQuestionSolution(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by submitSolutionAndNextCmd().
|
protected |
Definition at line 1032 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 350 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $ilUser, and ilTestPlayerCommands\SHOW_QUESTION.
|
private |
Definition at line 34 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 39 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 44 of file class.ilTestPlayerDynamicQuestionSetGUI.php.