ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (ilObjTest $object) | |
executeCommand () | |
execute command 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 () | |
saveQuestionSolution (bool $authorized=true, bool $force=false) | |
suspendTestCmd () | |
isMaxProcessingTimeReached () | |
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 () | |
Redirect the user after an automatic save when the time limit is reached. More... | |
redirectAfterQuestionListCmd () | |
autosaveCmd () | |
Automatically save a user answer while working on the test (called repeatedly by asynchronous posts in configured autosave interval) More... | |
autosaveOnTimeLimitCmd () | |
Automatically save a user answer when the limited duration of a test run is reached (called by synchronous form submit when the remaining time count down reaches zero) More... | |
finishTestCmd () | |
buildFinishTestModal () | |
redirectBackCmd () | |
showFinalStatementCmd () | |
isTestAccessible () | |
test accessible returns true if the user can perform the test More... | |
isNrOfTriesReached () | |
nr of tries exceeded More... | |
endingTimeReached () | |
handle endingTimeReached More... | |
max_processing_time_reached () | |
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 @access public More... | |
checkWorkingTimeCmd () | |
This is asynchronously called by tpl.workingtime.js to check for changes in the user's processing time for a test. More... | |
outQuestionSummaryCmd () | |
Output of a summary of all test questions for test participants. More... | |
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 (bool $contextResultPresentation) | |
setParticipantData (ilTestParticipantData $participantData) | |
getParticipantData () | |
getPassOverviewTableData (ilTestSession $test_session, array $passes, bool $with_results) | |
setObjectiveOrientedContainer (ilTestObjectiveOrientedContainer $objective_oriented_container) | |
getObjectiveOrientedContainer () | |
executeCommand () | |
execute command More... | |
buildPassOverviewTableGUI (ilTestEvaluationGUI $target_gui) | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=false, $only_answered_questions=false, $show_question_only=false, $show_reached_points=false, $anchorNav=false, ?ilTestQuestionRelatedObjectivesList $objectives_list=null, ?ResultsTitlesBuilder $testResultHeaderLabelBuilder=null) | |
Returns the list of answers of a users test pass. 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 $objectives_list=null) | |
Returns an output of the solution to an answer compared to the correct solution. More... | |
getObject () | |
Data Fields | |
const | PRESENTATION_MODE_VIEW = 'view' |
const | PRESENTATION_MODE_EDIT = 'edit' |
const | FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
bool | $max_processing_time_reached |
bool | $ending_time_reached |
int | $ref_id |
const | FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
Private Member Functions | |
checkAndUpdateSaveAllowedByFormTimestamp (bool $force) | |
buildQuestionObject () | |
save (assQuestion $question_obj, bool $authorized) | |
buildNextButtonInstance ($primaryNext) | |
buildPreviousButtonInstance () | |
getOnLoadCodeForNavigationButtons (string $target, string $cmd) | |
outProcessingTime (int $active_id, bool $verbose) | |
getQuestionFeedbackModalHtml (ilTemplate $tpl, string $nav_url) | |
isValidSequenceElement ($sequence_element) | |
Private Attributes | |
array | $cached_question_guis = [] |
array | $cached_question_objects = [] |
Definition at line 38 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::__construct | ( | ilObjTest | $object | ) |
Definition at line 80 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilTestPlayerAbstractGUI::accessCodeConfirmedCmd | ( | ) |
Definition at line 817 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 3112 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\user().
|
protected |
Definition at line 1062 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Test\Settings\MainSettings\ALWAYS_TO_LOGOUT, ILIAS\Repository\ctrl(), ilStartUpGUI\logoutUrl(), ILIAS\Repository\object(), ilUtil\redirect(), and ilTestPlayerCommands\SHOW_FINAL_STATMENT.
ilTestPlayerAbstractGUI::autosaveCmd | ( | ) |
Automatically save a user answer while working on the test (called repeatedly by asynchronous posts in configured autosave interval)
Definition at line 877 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\access(), exit, and ILIAS\Repository\lng().
ilTestPlayerAbstractGUI::autosaveOnTimeLimitCmd | ( | ) |
Automatically save a user answer when the limited duration of a test run is reached (called by synchronous form submit when the remaining time count down reaches zero)
Definition at line 911 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\REDIRECT_ON_TIME_LIMIT.
ilTestPlayerAbstractGUI::backFromFinishingCmd | ( | ) |
Definition at line 1949 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 2422 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getSolvedQuestions(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTestPlayerCommands\MARK_QUESTION_SAVE, ILIAS\Repository\object(), ilTestPlayerCommands\REVERT_CHANGES, ilTestPlayerCommands\SHOW_INSTANT_RESPONSE, ilTestPlayerCommands\SUBMIT_SOLUTION, and ilTestPlayerCommands\UNMARK_QUESTION_SAVE.
ilTestPlayerAbstractGUI::buildFinishTestModal | ( | ) |
Definition at line 1088 of file class.ilTestPlayerAbstractGUI.php.
References $message, ILIAS\Repository\ctrl(), ilTestPlayerCommands\FINISH_TEST, ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
private |
bool | $primaryNext |
Definition at line 555 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilTestPlayerCommands\NEXT_QUESTION.
|
private |
$disabled |
Definition at line 578 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\PREVIOUS_QUESTION.
|
private |
Definition at line 389 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2388 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getSolvedQuestions(), ILIAS\Repository\ctrl(), ilTestPlayerCommands\EDIT_SOLUTION, ILIAS\Repository\lng(), ilTestPlayerCommands\MARK_QUESTION, ILIAS\Repository\object(), and ilTestPlayerCommands\UNMARK_QUESTION.
|
abstractprotected |
Reimplemented in ilTestPlayerFixedQuestionSetGUI, and ilTestPlayerRandomQuestionSetGUI.
|
protected |
Definition at line 2360 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
|
protected |
Definition at line 441 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 373 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and ilSession\set().
|
protected |
Definition at line 231 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
Definition at line 248 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
|
protected |
Definition at line 258 of file class.ilTestPlayerAbstractGUI.php.
References $test_session, and ilTestSession\getUserId().
Referenced by executeCommand().
ilTestPlayerAbstractGUI::checkWorkingTimeCmd | ( | ) |
This is asynchronously called by tpl.workingtime.js to check for changes in the user's processing time for a test.
This includes extra time added during the test, as this is checked by ilObjTest::getProcessingTimeInSeconds(). The Javascript side then updates the test timer without needing to reload the test page.
Definition at line 1838 of file class.ilTestPlayerAbstractGUI.php.
References exit.
|
protected |
Definition at line 2351 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
ilTestPlayerAbstractGUI::confirmSubmitAnswers | ( | ) |
confirm submit results if confirm then results are submitted and the screen will be redirected to the startpage of the test @access public
Definition at line 1788 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Detect changes sent in the background to the server This is called by ajax from ilTestPlayerQuestionEditControl.js It is needed by Java and Flash question and eventually plgin question vtypes.
Definition at line 926 of file class.ilTestPlayerAbstractGUI.php.
References exit.
|
protected |
Definition at line 462 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
|
protected |
Definition at line 1328 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), and ILIAS\Repository\object().
|
protected |
Definition at line 1572 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), ILIAS\Repository\logger(), ILIAS\Repository\object(), PRESENTATION_MODE_VIEW, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::displayAccessCodeCmd | ( | ) |
Definition at line 805 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\ACCESS_CODE_CONFIRMED, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 1512 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), PRESENTATION_MODE_EDIT, and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::endingTimeReached | ( | ) |
handle endingTimeReached
Definition at line 1761 of file class.ilTestPlayerAbstractGUI.php.
References ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Definition at line 265 of file class.ilTestPlayerAbstractGUI.php.
References $test_session, ilTestSession\doesAccessCodeInSessionExists(), ilTestSession\getAccessCodeFromSession(), ilTestSession\getActiveId(), ilTestSession\isAnonymousUser(), ilTestSession\saveToDb(), ilTestSession\setAnonymousId(), ilTestSession\setUserId(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilTestPlayerAbstractGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 87 of file class.ilTestPlayerAbstractGUI.php.
References $id, ilTestServiceGUI\$test_sequence_factory, checkReadAccess(), checkTestExecutable(), checkTestSessionUser(), ILIAS\Repository\ctrl(), ensureExistingTestSession(), exit, getCurrentSequenceElement(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestSequenceFactory\getSequenceByTestSession(), getTestPlayerTitle(), handleCheckTestPassValid(), handlePasswordProtectionRedirect(), initAssessmentSettings(), iljQueryUtil\initjQuery(), initProcessLocker(), ilTestPlayerCommands\isTestExecutionCommand(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), ilTestPlayerLayoutProvider\TEST_PLAYER_KIOSK_MODE_ENABLED, ilTestPlayerLayoutProvider\TEST_PLAYER_SHORT_TITLE, ilTestPlayerLayoutProvider\TEST_PLAYER_TITLE, ilTestPlayerLayoutProvider\TEST_PLAYER_VIEW_TITLE, and ILIAS\Repository\user().
ilTestPlayerAbstractGUI::finishTestCmd | ( | ) |
Definition at line 993 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\logger(), ilSession\set(), and ILIAS\Test\Logging\TEST_RUN_FINISHED.
|
protected |
Definition at line 3075 of file class.ilTestPlayerAbstractGUI.php.
References ilTestRandomQuestionSetBuilder\getInstance(), ILIAS\Repository\lng(), and ILIAS\Repository\logger().
|
protected |
Definition at line 2692 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::getContentBlockName | ( | ) |
Returns the name of the current content block (depends on the kiosk mode setting)
Definition at line 2070 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
|
protected |
Definition at line 868 of file class.ilTestPlayerAbstractGUI.php.
Referenced by removeIntermediateSolution().
|
protected |
Definition at line 2631 of file class.ilTestPlayerAbstractGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 2467 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\FINISH_TEST, ILIAS\Repository\object(), and ilTestPlayerCommands\QUESTION_SUMMARY.
|
protected |
Definition at line 2658 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2292 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
ilTestPlayerAbstractGUI::getLockParameter | ( | ) |
Definition at line 729 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2678 of file class.ilTestPlayerAbstractGUI.php.
References ilUtil\_getHttpPath().
|
protected |
Definition at line 2663 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2673 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 589 of file class.ilTestPlayerAbstractGUI.php.
References $id.
|
protected |
Definition at line 2649 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 2514 of file class.ilTestPlayerAbstractGUI.php.
References ilTemplate\get(), and ILIAS\Repository\lng().
|
protected |
Definition at line 2723 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), assQuestionGUI\populateJavascriptFilesRequiredForWorkForm(), assQuestionGUI\PRESENTATION_CONTEXT_TEST, assQuestionGUI\setObject(), assQuestionGUI\setPresentationContext(), and assQuestionGUI\setTargetGui().
|
protected |
Definition at line 2750 of file class.ilTestPlayerAbstractGUI.php.
References assQuestion\instantiateQuestion(), and ILIAS\Repository\user().
Referenced by removeIntermediateSolution().
|
protected |
Definition at line 2924 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2939 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get().
|
protected |
Definition at line 2640 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2379 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
|
protected |
Definition at line 3159 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\buildExamId(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
Definition at line 3032 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by executeCommand().
|
protected |
Definition at line 2966 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SUBMIT_SOLUTION.
|
protected |
Definition at line 2702 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
The test password is only checked once per session to avoid errors during autosave if the password is changed during a running test. See Mantis #22536 for more details.
Definition at line 2248 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\START_TEST.
Referenced by executeCommand().
|
protected |
Definition at line 3131 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object(), and ilTestNavigationToolbarGUI\setFinishTestButtonPrimary().
|
protected |
Definition at line 2102 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 3025 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
ilTestSession | $test_session |
Definition at line 2305 of file class.ilTestPlayerAbstractGUI.php.
References ilTestSession\getActiveId(), ilTestSession\getPass(), ilTestSession\getUserId(), ILIAS\Repository\logger(), and ILIAS\Repository\object().
|
protected |
Definition at line 3125 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 2776 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\logger(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::handleUserSettings | ( | ) |
Handles some form parameters on starting and resuming a test.
Definition at line 825 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
|
protected |
Definition at line 2297 of file class.ilTestPlayerAbstractGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 284 of file class.ilTestPlayerAbstractGUI.php.
References ilTestServiceGUI\$db, and $ilDB.
Referenced by executeCommand().
|
protected |
Start a test for the first time after a redirect.
Definition at line 786 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilTestPlayerCommands\DISPLAY_ACCESS_CODE, and ilTestPlayerCommands\START_TEST.
|
protected |
Definition at line 2220 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\event(), and ILIAS\Repository\form().
|
protected |
Definition at line 2769 of file class.ilTestPlayerAbstractGUI.php.
References assQuestion\getTestPresentationConfig(), and ILIAS\Repository\object().
|
protected |
Definition at line 2092 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2876 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get().
|
protected |
Definition at line 2952 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2097 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::isMaxProcessingTimeReached | ( | ) |
Definition at line 451 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::isNrOfTriesReached | ( | ) |
nr of tries exceeded
Definition at line 1751 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 1207 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2276 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
|
protected |
Definition at line 1222 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::isTestAccessible | ( | ) |
test accessible returns true if the user can perform the test
Definition at line 1740 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 2978 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 951 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Set a question solved.
Definition at line 960 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::max_processing_time_reached | ( | ) |
Outputs a message when the maximum processing time is reached.
Outputs a message when the maximum processing time is reached
@access public
Definition at line 1778 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2150 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), ILIAS\Repository\logger(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::outCorrectSolution | ( | ) |
Creates an output of the solution of an answer compared to the correct solution.
Reimplemented from ilTestServiceGUI.
Definition at line 1957 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
private |
Definition at line 1806 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilTestPlayerCommands\REDIRECT_AFTER_QUESTION_LIST.
ilTestPlayerAbstractGUI::outQuestionSummaryCmd | ( | ) |
Output of a summary of all test questions for test participants.
Definition at line 1896 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), ILIAS\Repository\object(), and ilTestPlayerLayoutProvider\TEST_PLAYER_VIEW_TITLE.
ilTestPlayerAbstractGUI::outUserResultsOverviewCmd | ( | ) |
Definition at line 2083 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 3051 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
|
protected |
Definition at line 1027 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 678 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getContentStylePath().
|
protected |
Definition at line 2814 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\DISCARD_SOLUTION, and ILIAS\Repository\lng().
|
protected |
Definition at line 2610 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 2623 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 625 of file class.ilTestPlayerAbstractGUI.php.
References ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG, and assQuestionGUI\getGenericFeedbackOutput().
|
protected |
$helperGui |
Definition at line 2374 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2533 of file class.ilTestPlayerAbstractGUI.php.
References ilObjTest\_getPass(), assQuestionGUI\getObject(), assQuestionGUI\getSolutionOutput(), assQuestionGUI\hasInlineFeedback(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Definition at line 2476 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), assQuestionGUI\getQuestionHeaderBlockBuilder(), assQuestionGUI\getSolutionOutput(), assQuestionGUI\outQuestionPage(), and assQuestionGUI\setNavigationGUI().
|
protected |
Definition at line 515 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 533 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2789 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
|
protected |
Definition at line 2802 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
|
protected |
Definition at line 509 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2842 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 2828 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 503 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2885 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\AUTO_SAVE, ilTestPlayerCommands\AUTO_SAVE_ON_TIME_LIMIT, ILIAS\Repository\ctrl(), ilTestPlayerCommands\DETECT_CHANGES, ILIAS\UI\Component\Signal\getId(), assQuestionGUI\getObject(), and ILIAS\Repository\lng().
|
protected |
Definition at line 492 of file class.ilTestPlayerAbstractGUI.php.
|
abstractprotected |
Reimplemented in ilTestPlayerFixedQuestionSetGUI, and ilTestPlayerRandomQuestionSetGUI.
|
protected |
Definition at line 645 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 658 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 602 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getObject(), and assQuestionGUI\getSpecificFeedbackOutput().
|
protected |
Definition at line 668 of file class.ilTestPlayerAbstractGUI.php.
References ilObjStyleSheet\getSyntaxStylePath().
|
protected |
Definition at line 472 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 524 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 542 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 2210 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 1151 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), ILIAS\Repository\object(), ilTestPlayerCommands\RESUME_PLAYER, and ILIAS\Repository\user().
|
protected |
Definition at line 2192 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::redirectAfterAutosaveCmd | ( | ) |
Redirect the user after an automatic save when the time limit is reached.
ilTestException |
Definition at line 845 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 859 of file class.ilTestPlayerAbstractGUI.php.
References $url, ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilTestPlayerAbstractGUI::redirectAfterQuestionListCmd | ( | ) |
Definition at line 852 of file class.ilTestPlayerAbstractGUI.php.
ilTestPlayerAbstractGUI::redirectBackCmd | ( | ) |
Definition at line 1107 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2929 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and ilSession\set().
ilTestPlayerAbstractGUI::removeIntermediateSolution | ( | ) |
Definition at line 323 of file class.ilTestPlayerAbstractGUI.php.
References getCurrentQuestionId(), and getQuestionInstance().
|
protected |
Definition at line 738 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 1563 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
|
private |
Definition at line 405 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ilObjTest\_getPass(), assQuestion\answerToParticipantInteraction(), ilLOTestQuestionAdapter\getInstance(), ILIAS\Repository\logger(), ILIAS\Repository\object(), and assQuestion\persistWorkingState().
|
protected |
Definition at line 2712 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\set().
ilTestPlayerAbstractGUI::saveQuestionSolution | ( | bool | $authorized = true , |
bool | $force = false |
||
) |
Definition at line 333 of file class.ilTestPlayerAbstractGUI.php.
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 297 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
|
protected |
Definition at line 1042 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\object().
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 693 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2697 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2871 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\set().
|
protected |
Definition at line 2338 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilTestPlayerAbstractGUI::showFinalStatementCmd | ( | ) |
Definition at line 1127 of file class.ilTestPlayerAbstractGUI.php.
References ilTestPlayerCommands\AFTER_TEST_PASS_FINISHED, ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and ilTestPlayerLayoutProvider\TEST_PLAYER_VIEW_TITLE.
|
protected |
Definition at line 2119 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
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 @access public |
Definition at line 1993 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, $counter, ILIAS\Repository\ctrl(), assQuestionGUI\getObject(), assQuestionGUI\getSolutionOutput(), ilUtil\getStyleSheetLocation(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 1356 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), ilLOTestQuestionAdapter\getInstance(), assQuestionGUI\getObject(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\object(), PRESENTATION_MODE_EDIT, PRESENTATION_MODE_VIEW, ilSession\set(), assQuestionGUI\setQuestionCount(), assQuestionGUI\setQuestionHeaderBlockBuilder(), assQuestionGUI\setSequenceNumber(), and ilTestPlayerCommands\SUBMIT_INTERMEDIATE_SOLUTION.
|
protected |
Definition at line 1271 of file class.ilTestPlayerAbstractGUI.php.
References assQuestionGUI\getQuestionHeaderBlockBuilder().
|
protected |
Definition at line 1227 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 1845 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\UI\Component\Listing\Workflow\Step\IN_PROGRESS, ILIAS\Repository\lng(), ILIAS\UI\Component\Listing\Workflow\Step\NOT_STARTED, PRESENTATION_MODE_VIEW, ilTestPlayerCommands\SHOW_QUESTION, and ilTestPlayerLayoutProvider\TEST_PLAYER_QUESTIONLIST.
|
protected |
Definition at line 1607 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), ILIAS\Repository\logger(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
|
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 708 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\INIT_TEST.
|
protected |
Definition at line 1641 of file class.ilTestPlayerAbstractGUI.php.
References $_SERVER, ILIAS\Repository\ctrl(), ilSession\get(), ilLOTestQuestionAdapter\getInstance(), ILIAS\Repository\logger(), ILIAS\Repository\object(), ilTestPlayerCommands\QUESTION_SUMMARY, ilSession\set(), ilTestPlayerCommands\SHOW_QUESTION, and ILIAS\Repository\user().
|
protected |
Definition at line 942 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 2995 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 1518 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), PRESENTATION_MODE_VIEW, ilUtil\redirect(), and ilTestPlayerCommands\SHOW_QUESTION.
ilTestPlayerAbstractGUI::suspendTestCmd | ( | ) |
Definition at line 446 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 971 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Set a question unsolved.
Definition at line 982 of file class.ilTestPlayerAbstractGUI.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 2957 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), and ilSession\set().
|
protected |
Definition at line 2973 of file class.ilTestPlayerAbstractGUI.php.
References ilLPStatusWrapper\_updateStatus(), and ILIAS\Repository\object().
ilTestPlayerAbstractGUI::updateWorkingTime | ( | ) |
updates working time and stores state saveresult to see if question has to be stored or not
Definition at line 308 of file class.ilTestPlayerAbstractGUI.php.
References ilSession\get(), ILIAS\Repository\object(), and ilSession\set().
|
protected |
Definition at line 64 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 54 of file class.ilTestPlayerAbstractGUI.php.
|
private |
Definition at line 59 of file class.ilTestPlayerAbstractGUI.php.
bool ilTestPlayerAbstractGUI::$ending_time_reached |
Definition at line 48 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 68 of file class.ilTestPlayerAbstractGUI.php.
bool ilTestPlayerAbstractGUI::$max_processing_time_reached |
Definition at line 47 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 78 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 61 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 62 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 66 of file class.ilTestPlayerAbstractGUI.php.
int ilTestPlayerAbstractGUI::$ref_id |
Definition at line 49 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 65 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 63 of file class.ilTestPlayerAbstractGUI.php.
Referenced by checkTestSessionUser(), and ensureExistingTestSession().
|
protected |
Definition at line 70 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 43 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::FIXED_SHUFFLER_SEED_MIN_LENGTH = 8 |
Definition at line 45 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::FOLLOWUP_QST_LOCKS_PREVENT_CONFIRMATION_PARAM = 'followup_qst_locks_prevent_confirmation' |
Definition at line 2869 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 71 of file class.ilTestPlayerAbstractGUI.php.
|
protected |
Definition at line 72 of file class.ilTestPlayerAbstractGUI.php.
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_EDIT = 'edit' |
Definition at line 41 of file class.ilTestPlayerAbstractGUI.php.
Referenced by editSolutionCmd(), and showQuestionCmd().
const ilTestPlayerAbstractGUI::PRESENTATION_MODE_VIEW = 'view' |
Definition at line 40 of file class.ilTestPlayerAbstractGUI.php.
Referenced by discardSolutionCmd(), showQuestionCmd(), showSideList(), and submitSolutionCmd().