ILIAS
Release_4_4_x_branch Revision 61816
|
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. |
Data Fields | |
const | CMD_SHOW_QUESTION_SELECTION = 'showQuestionSelection' |
const | CMD_SHOW_QUESTION = 'showQuestion' |
const | CMD_FROM_PASS_DELETION = 'fromPassDeletion' |
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 | |
$testSequence | |
$testSession | |
Protected Attributes inherited from ilTestPlayerAbstractGUI | |
$processLocker | |
$testSession | |
Protected Attributes inherited from ilTestServiceGUI | |
$testSessionFactory = null | |
$testSequenceFactory = null |
Private Member Functions | |
outCurrentlyFinishedPage () | |
isQuestionAnsweredCorrect ($questionId, $activeId, $pass) | |
buildQuestionSetCompleteStatisticTableGUI () | |
buildQuestionSetFilteredStatisticTableGUI () | |
buildQuestionSetStatisticTableGUI ($tableId) | |
getEnterTestButtonLangVar () | |
resetCurrentQuestion () | |
buildFinishPagePassDeletionLink () | |
getPassDeletionTarget () |
Private Attributes | |
$dynamicQuestionSetConfig = null |
Definition at line 26 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 1130 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References getPassDeletionTarget().
|
protected |
Definition at line 997 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 1043 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetStatisticTableGUI(), and ilTestDynamicQuestionSetStatisticTableGUI\COMPLETE_TABLE_ID.
Referenced by showQuestionSelectionCmd().
|
private |
Definition at line 1056 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 1078 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by buildQuestionSetCompleteStatisticTableGUI(), and buildQuestionSetFilteredStatisticTableGUI().
|
protected |
Definition at line 956 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by showTrackedQuestionListCmd().
|
protected |
Returns TRUE if the answers of the current user could be saved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 855 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by saveQuestionSolution().
ilTestPlayerDynamicQuestionSetGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 50 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $cmd, ilTestServiceGUI\$lng, $ret, ilTestServiceGUI\$testSequenceFactory, ilTestServiceGUI\$testSessionFactory, ilTestServiceGUI\$tree, buildQuestionSetFilteredStatisticTableGUI(), ilTestPlayerAbstractGUI\calculateSequence(), ilTestPlayerAbstractGUI\ensureExistingTestSession(), ilYuiUtil\initConnectionWithAnimation(), ilOverlayGUI\initJavascript(), iljQueryUtil\initjQuery(), and ilTestPlayerAbstractGUI\initProcessLocker().
|
protected |
Definition at line 235 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilAssQuestionList\ANSWER_STATUS_FILTER_ALL_NON_CORRECT, and buildQuestionSetFilteredStatisticTableGUI().
|
protected |
Definition at line 334 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References resetCurrentQuestion().
|
private |
Definition at line 1091 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by showQuestionSelectionCmd().
|
private |
Definition at line 1142 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER.
Referenced by buildFinishPagePassDeletionLink(), and showQuestionSelectionCmd().
|
protected |
Go to the question with the active sequence.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 420 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET.
|
protected |
Definition at line 840 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, and $ilUser.
Referenced by showInstantResponseCmd(), and showQuestionCmd().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 508 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 830 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by populatePreviousButtons().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 835 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by outWorkingForm().
|
private |
Definition at line 920 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and assQuestion\_getReachedPoints().
Referenced by persistQuestionAnswerStatus().
|
protected |
Set a question solved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 380 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $ilUser, persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 340 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References persistQuestionAnswerStatus(), resetCurrentQuestion(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
private |
Definition at line 766 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilObjTest\lookupExamId(), ilTestPlayerAbstractGUI\outProcessingTime(), ilTestPlayerAbstractGUI\populateCancelButtonBlock(), ilTestPlayerAbstractGUI\populateKioskHead(), populatePreviousButtons(), ilTestPlayerAbstractGUI\populateQuestionSelectionButtons(), and ilTestPlayerAbstractGUI\prepareTestPageOutput().
Referenced by showQuestionCmd().
|
protected |
Creates the learners output of a question.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 532 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $_SESSION, $ilLog, $ilUser, ilObjTest\_getSolvedQuestions(), ilTestPlayerAbstractGUI\determineInlineScoreDisplay(), ilTestPlayerAbstractGUI\fillQuestionRelatedNavigation(), ilUtil\getImagePath(), ilUtil\getJSLocation(), isLastQuestionInSequence(), ilObjTest\isQuestionObligatory(), OUTPUT_JAVASCRIPT, ilTestPlayerAbstractGUI\populateCancelButtonBlock(), ilTestPlayerAbstractGUI\populateCharSelector(), ilTestPlayerAbstractGUI\populateContentStyleBlock(), ilTestPlayerAbstractGUI\populateGenericFeedbackBlock(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToEndOfTest(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToQuestion(), ilTestPlayerAbstractGUI\populateNextButtonsLeadingToSummary(), ilTestPlayerAbstractGUI\populatePostponeButtons(), populatePreviousButtons(), ilTestPlayerAbstractGUI\populateQuestionMarkingBlockAsMarked(), ilTestPlayerAbstractGUI\populateQuestionMarkingBlockAsUnmarked(), ilTestPlayerAbstractGUI\populateQuestionSelectionButtons(), ilTestPlayerAbstractGUI\populateScoreBlock(), ilTestPlayerAbstractGUI\populateSolutionBlock(), ilTestPlayerAbstractGUI\populateSpecificFeedbackBlock(), ilTestPlayerAbstractGUI\populateSyntaxStyleBlock(), and resetCurrentQuestion().
|
protected |
Definition at line 1101 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $pass, and isQuestionAnsweredCorrect().
Referenced by handleQuestionActionCmd(), markQuestionCmd(), nextQuestionCmd(), postponeQuestionCmd(), showInstantResponseCmd(), showQuestionSelectionCmd(), showTrackedQuestionListCmd(), and unmarkQuestionCmd().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 936 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\$sequence, isFirstPageInSequence(), ilTestPlayerAbstractGUI\populateLowerPreviousButtonBlock(), and ilTestPlayerAbstractGUI\populateUpperPreviousButtonBlock().
Referenced by outCurrentlyFinishedPage(), and outWorkingForm().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 359 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 329 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
private |
Definition at line 1117 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
Referenced by fromPassDeletionCmd(), nextQuestionCmd(), and outWorkingForm().
|
protected |
Definition at line 266 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetFilteredStatisticTableGUI().
|
protected |
Resume a test at the last position.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 129 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References ilTestPlayerAbstractGUI\handleUserSettings(), and ilTestPlayerAbstractGUI\showMaximumAllowedUsersReachedMessage().
ilTestPlayerDynamicQuestionSetGUI::saveQuestionSolution | ( | $force = FALSE | ) |
saves the user input of a question
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 863 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_GET, $_POST, $_SESSION, $ilUser, $pass, ilTestPlayerAbstractGUI\$saveResult, canSaveResult(), and OUTPUT_JAVASCRIPT.
Referenced by handleQuestionActionCmd(), markQuestionCmd(), nextQuestionCmd(), postponeQuestionCmd(), showInstantResponseCmd(), showQuestionSelectionCmd(), showTrackedQuestionListCmd(), and unmarkQuestionCmd().
|
protected |
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 475 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References handleJavascriptActivationStatus(), ilTestPlayerAbstractGUI\outTestPage(), persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Definition at line 441 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References handleJavascriptActivationStatus(), outCurrentlyFinishedPage(), and ilTestPlayerAbstractGUI\outTestPage().
|
protected |
Definition at line 172 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionSetAnswerStatisticRowArray(), buildQuestionSetCompleteStatisticTableGUI(), buildQuestionSetFilteredStatisticTableGUI(), ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER, getEnterTestButtonLangVar(), ilTestPlayerAbstractGUI\getMarkedQuestions(), getPassDeletionTarget(), ilTestPlayerAbstractGUI\outProcessingTime(), persistQuestionAnswerStatus(), ilTestPlayerAbstractGUI\prepareSummaryPage(), saveQuestionSolution(), ilTestPlayerAbstractGUI\updateWorkingTime(), and vd().
|
protected |
Definition at line 281 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References buildQuestionsTableDataArray(), ilTestPlayerAbstractGUI\getMarkedQuestions(), ilTestPlayerAbstractGUI\outProcessingTime(), persistQuestionAnswerStatus(), ilTestPlayerAbstractGUI\prepareSummaryPage(), saveQuestionSolution(), ilTable2GUI\setData(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
protected |
Definition at line 146 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $_SESSION, and $ilUser.
|
protected |
Set a question unsolved.
Reimplemented from ilTestPlayerAbstractGUI.
Definition at line 400 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
References $ilUser, persistQuestionAnswerStatus(), saveQuestionSolution(), and ilTestPlayerAbstractGUI\updateWorkingTime().
|
private |
Definition at line 35 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 40 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
|
protected |
Definition at line 45 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
const ilTestPlayerDynamicQuestionSetGUI::CMD_FROM_PASS_DELETION = 'fromPassDeletion' |
Definition at line 30 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
const ilTestPlayerDynamicQuestionSetGUI::CMD_SHOW_QUESTION = 'showQuestion' |
Definition at line 29 of file class.ilTestPlayerDynamicQuestionSetGUI.php.
const ilTestPlayerDynamicQuestionSetGUI::CMD_SHOW_QUESTION_SELECTION = 'showQuestionSelection' |
Definition at line 28 of file class.ilTestPlayerDynamicQuestionSetGUI.php.