ILIAS
release_4-3 Revision
|
Output class for assessment test execution. More...
Public Member Functions | |
__construct ($a_object) | |
ilTestOutputGUI constructor | |
saveTags () | |
executeCommand () | |
execute command | |
outResultsToplist () | |
ilCtrl $iCtrl | |
updateWorkingTime () | |
updates working time and stores state saveresult to see if question has to be stored or not | |
saveQuestionSolution ($force=FALSE) | |
saves the user input of a question | |
canSaveResult () | |
Returns TRUE if the answers of the current user could be saved. | |
outIntroductionPage () | |
Creates the introduction page for a test. | |
isMaxProcessingTimeReached () | |
Checks wheather the maximum processing time is reached or not. | |
outWorkingForm ($sequence="", $test_id, $postpone_allowed, $directfeedback=0) | |
Creates the learners output of a question. | |
showPasswordProtectionPage () | |
Displays a password protection page when a test password is set. | |
checkPassword () | |
Check the password, a user entered for test access. | |
setAnonymousId () | |
Sets a session variable with the test access code for an anonymous test user. | |
start () | |
Start a test for the first time. | |
startTest () | |
Start a test for the first time after a redirect. | |
displayCode () | |
codeConfirmed () | |
resume () | |
Resume a test at the last position. | |
handleStartCommands () | |
Handles some form parameters on starting and resuming a test. | |
redirectQuestion () | |
Called when a user answered a question to perform a redirect after POST. | |
calculateSequence () | |
Calculates the sequence to determine the next question. | |
redirectAfterAutosave () | |
autosave () | |
togglesidelist () | |
Toggle side list. | |
next () | |
Go to the next question. | |
previous () | |
Go to the previous question. | |
postpone () | |
Postpone a question to the end of the test. | |
summary () | |
Show the question summary in online exams. | |
summaryWithoutSaving () | |
setmarked () | |
Set a question solved. | |
resetmarked () | |
Set a question unsolved. | |
directfeedback () | |
The direct feedback button was hit to show an instant feedback. | |
selectImagemapRegion () | |
Select an image map region in an image map question. | |
gotoQuestion () | |
Go to the question with the active sequence. | |
backFromSummary () | |
Go back to the last active question from the summary. | |
confirmFinish () | |
The final submission of a test was confirmed. | |
finishTest ($confirm=true) | |
Finish the test. | |
redirectBack () | |
showFinalStatement () | |
getKioskHead () | |
outTestPage () | |
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) | |
outQuestionSummary ($fullpage=true, $contextFinishTest=false, $obligationsNotAnswered=false, $obligationsFilter=false) | |
Output of a summary of all test questions for test participants. | |
outQuestionSummaryWithObligationsInfo () | |
outObligationsOnlySummary () | |
showMaximumAllowedUsersReachedMessage () | |
backConfirmFinish () | |
finishListOfAnswers () | |
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) | |
outUserResultsOverview () | |
outUserListOfAnswerPasses () | |
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 ($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 ($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 | |
$ref_id | |
$saveResult | |
$sequence | |
$cmdCtrl | |
$maxProcessingTimeReached | |
$endingTimeReached | |
Data Fields inherited from ilTestServiceGUI | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id |
Output class for assessment test execution.
The ilTestOutputGUI class creates the output for the ilObjTestGUI class when learners execute a test. This saves some heap space because the ilObjTestGUI class will be much smaller then
ilTestOutputGUI: ilAssQuestionHintRequestGUI
Definition at line 26 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::__construct | ( | $a_object | ) |
ilTestOutputGUI constructor
object | $a_object | Associated ilObjSurvey class public |
Definition at line 42 of file class.ilTestOutputGUI.php.
References $_GET, and ilTestServiceGUI\ilTestServiceGUI().
ilTestOutputGUI::autosave | ( | ) |
Definition at line 1213 of file class.ilTestOutputGUI.php.
References $_POST, $ilLog, $res, $result, canSaveResult(), exit, and saveQuestionSolution().
ilTestOutputGUI::backConfirmFinish | ( | ) |
Definition at line 2069 of file class.ilTestOutputGUI.php.
References $ilUser, and showListOfAnswers().
ilTestOutputGUI::backFromSummary | ( | ) |
Go back to the last active question from the summary.
Go back to the last active question from the summary
public
Definition at line 1422 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::calculateSequence | ( | ) |
Calculates the sequence to determine the next question.
public
Definition at line 1181 of file class.ilTestOutputGUI.php.
References $_GET, and $sequence.
Referenced by executeCommand(), and redirectQuestion().
ilTestOutputGUI::canSaveResult | ( | ) |
Returns TRUE if the answers of the current user could be saved.
Returns TRUE if the answers of the current user could be saved
Definition at line 216 of file class.ilTestOutputGUI.php.
References isMaxProcessingTimeReached(), and isNrOfTriesReached().
Referenced by autosave(), and saveQuestionSolution().
ilTestOutputGUI::checkOnlineTestAccess | ( | ) |
check access restrictions like client ip, partipating user etc.
check access restrictions like client ip, partipating user etc.
public
Definition at line 1701 of file class.ilTestOutputGUI.php.
References $ilUser, and ilUtil\sendInfo().
ilTestOutputGUI::checkPassword | ( | ) |
Check the password, a user entered for test access.
public
Definition at line 787 of file class.ilTestOutputGUI.php.
References $_POST, $_SESSION, $ilUser, and ilUtil\sendFailure().
ilTestOutputGUI::codeConfirmed | ( | ) |
Definition at line 909 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::confirmFinish | ( | ) |
The final submission of a test was confirmed.
The final submission of a test was confirmed
public
Definition at line 1435 of file class.ilTestOutputGUI.php.
References finishTest().
|
private |
Go to hint request confirmation.
private
Definition at line 2254 of file class.ilTestOutputGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, and saveQuestionSolution().
ilTestOutputGUI::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 1801 of file class.ilTestOutputGUI.php.
References getContentBlockName().
|
private |
Definition at line 478 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
ilTestOutputGUI::directfeedback | ( | ) |
The direct feedback button was hit to show an instant feedback.
The direct feedback button was hit to show an instant feedback
public
Definition at line 1357 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
ilTestOutputGUI::displayCode | ( | ) |
Definition at line 898 of file class.ilTestOutputGUI.php.
References getContentBlockName().
|
private |
handle endingTimeReached
Definition at line 1768 of file class.ilTestOutputGUI.php.
References ilFormat\ftimestamp2datetimeDB(), outIntroductionPage(), and ilUtil\sendInfo().
Referenced by outTestPage().
ilTestOutputGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 66 of file class.ilTestOutputGUI.php.
References $_GET, $cmd, $ilUser, $ret, calculateSequence(), ilTestServiceGUI\getCommand(), ilYuiUtil\initConnectionWithAnimation(), and iljQueryUtil\initjQuery().
|
private |
renders the elements for the question related navigation
private ilTemplate $tpl ilLanguage $lng
assQuestionGUI | $questionGUI |
Definition at line 2270 of file class.ilTestOutputGUI.php.
References ilTestServiceGUI\$lng, $pass, ilTestServiceGUI\$tpl, ilAssQuestionHintTracking\requestsExist(), and ilAssQuestionHintTracking\requestsPossible().
Referenced by outWorkingForm().
ilTestOutputGUI::finishListOfAnswers | ( | ) |
Definition at line 2091 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::finishTest | ( | $confirm = true | ) |
Finish the test.
Finish the test
public
Definition at line 1485 of file class.ilTestOutputGUI.php.
References $_GET, $_SESSION, ilTestServiceGUI\$ilias, $ilUser, ilObjTest\allObligationsAnswered(), ilSession\getIdleValue(), redirectBack(), redirectQuestion(), and showListOfAnswers().
Referenced by confirmFinish().
|
private |
Returns the name of the current content block (depends on the kiosk mode setting)
Definition at line 2212 of file class.ilTestOutputGUI.php.
Referenced by confirmSubmitAnswers(), displayCode(), outQuestionSummary(), outTestPage(), redirectAfterAutosave(), showFinalStatement(), showListOfAnswers(), showMaximumAllowedUsersReachedMessage(), and showPasswordProtectionPage().
ilTestOutputGUI::getKioskHead | ( | ) |
Definition at line 1613 of file class.ilTestOutputGUI.php.
References $ilUser.
Referenced by outQuestionSummary(), and outTestPage().
ilTestOutputGUI::gotoQuestion | ( | ) |
Go to the question with the active sequence.
Go to the question with the active sequence
public
Definition at line 1405 of file class.ilTestOutputGUI.php.
References $_GET, $_POST, $_SESSION, and saveQuestionSolution().
ilTestOutputGUI::handleStartCommands | ( | ) |
Handles some form parameters on starting and resuming a test.
Definition at line 936 of file class.ilTestOutputGUI.php.
References $_POST, and $ilUser.
Referenced by resume(), and start().
|
private |
Definition at line 642 of file class.ilTestOutputGUI.php.
References $sequence.
Referenced by populatePreviousButtons().
|
private |
Definition at line 537 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
ilTestOutputGUI::isMaxProcessingTimeReached | ( | ) |
Checks wheather the maximum processing time is reached or not.
Checks wheather the maximum processing time is reached or not
Definition at line 241 of file class.ilTestOutputGUI.php.
References $ilUser.
Referenced by canSaveResult(), isTestAccessible(), and outTestPage().
ilTestOutputGUI::isNrOfTriesReached | ( | ) |
nr of tries exceeded
Definition at line 1737 of file class.ilTestOutputGUI.php.
Referenced by canSaveResult(), and isTestAccessible().
ilTestOutputGUI::isTestAccessible | ( | ) |
test accessible returns true if the user can perform the test
Definition at line 1726 of file class.ilTestOutputGUI.php.
References isMaxProcessingTimeReached(), and isNrOfTriesReached().
ilTestOutputGUI::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 1791 of file class.ilTestOutputGUI.php.
References outIntroductionPage().
Referenced by outTestPage().
ilTestOutputGUI::next | ( | ) |
Go to the next question.
Go to the next question
public
Definition at line 1259 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
ilTestOutputGUI::outCorrectSolution | ( | ) |
Creates an output of the solution of an answer compared to the correct solution.
public
Definition at line 2101 of file class.ilTestOutputGUI.php.
References $_GET, ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getCorrectSolutionOutput(), ilUtil\getStyleSheetLocation(), and ilObjStyleSheet\getSyntaxStylePath().
ilTestOutputGUI::outIntroductionPage | ( | ) |
Creates the introduction page for a test.
Creates the introduction page for a test
public
Definition at line 228 of file class.ilTestOutputGUI.php.
Referenced by endingTimeReached(), maxProcessingTimeReached(), and redirectBack().
ilTestOutputGUI::outObligationsOnlySummary | ( | ) |
Definition at line 2053 of file class.ilTestOutputGUI.php.
References outQuestionSummary().
ilTestOutputGUI::outProcessingTime | ( | $active_id | ) |
Definition at line 1821 of file class.ilTestOutputGUI.php.
References $ilUser, ilDatePresentation\formatDate(), and IL_CAL_FKT_GETDATE.
Referenced by outQuestionSummary(), and outTestPage().
ilTestOutputGUI::outQuestionSummary | ( | $fullpage = true , |
|
$contextFinishTest = false , |
|||
$obligationsNotAnswered = false , |
|||
$obligationsFilter = false |
|||
) |
Output of a summary of all test questions for test participants.
Definition at line 1917 of file class.ilTestOutputGUI.php.
References $_GET, $data, $row, $sequence, ilObjTest\_getSolvedQuestions(), getContentBlockName(), getKioskHead(), outProcessingTime(), ilUtil\prepareFormOutput(), ilUtil\sendFailure(), and ilTable2GUI\setData().
Referenced by outObligationsOnlySummary(), outQuestionSummaryWithObligationsInfo(), redirectQuestion(), and showSideList().
ilTestOutputGUI::outQuestionSummaryWithObligationsInfo | ( | ) |
Definition at line 2048 of file class.ilTestOutputGUI.php.
References outQuestionSummary().
ilTestOutputGUI::outResultsToplist | ( | ) |
ilCtrl $iCtrl
Definition at line 129 of file class.ilTestOutputGUI.php.
References $ilCtrl.
ilTestOutputGUI::outTestPage | ( | ) |
Outputs the question of the active sequence.
Definition at line 1636 of file class.ilTestOutputGUI.php.
References $_GET, $ilUser, endingTimeReached(), getContentBlockName(), getKioskHead(), isMaxProcessingTimeReached(), maxProcessingTimeReached(), outProcessingTime(), outWorkingForm(), ilUtil\sendInfo(), and TEST_POSTPONE.
Referenced by redirectQuestion().
ilTestOutputGUI::outUserListOfAnswerPasses | ( | ) |
Definition at line 2231 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::outUserResultsOverview | ( | ) |
Definition at line 2226 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::outWorkingForm | ( | $sequence = "" , |
|
$test_id, | |||
$postpone_allowed, | |||
$directfeedback = 0 |
|||
) |
Creates the learners output of a question.
Definition at line 259 of file class.ilTestOutputGUI.php.
References $_GET, $_SESSION, $ilUser, $sequence, ilObjTest\_getSolvedQuestions(), determineInlineScoreDisplay(), fillQuestionRelatedNavigation(), ilUtil\getImagePath(), ilUtil\getJSLocation(), isLastQuestionInSequence(), ilObjTest\isQuestionObligatory(), OUTPUT_JAVASCRIPT, populateCancelButtonBlock(), populateContentStyleBlock(), populateGenericFeedbackBlock(), populateNextButtonsLeadingToEndOfTest(), populateNextButtonsLeadingToQuestion(), populateNextButtonsLeadingToSummary(), populatePostponeButtons(), populatePreviousButtons(), populateQuestionMarkingBlockAsMarked(), populateQuestionMarkingBlockAsUnmarked(), populateScoreBlock(), populateSolutionBlock(), populateSpecificFeedbackBlock(), populateSummaryButtons(), populateSyntaxStyleBlock(), and showSideList().
Referenced by outTestPage().
ilTestOutputGUI::passDetails | ( | ) |
Output of the learners view of an existing test pass.
Output of the learners view of an existing test pass
public
Definition at line 1749 of file class.ilTestOutputGUI.php.
References $_GET.
|
private |
Definition at line 584 of file class.ilTestOutputGUI.php.
References ilUtil\getImagePath().
Referenced by outWorkingForm().
|
private |
Definition at line 757 of file class.ilTestOutputGUI.php.
References ilObjStyleSheet\getContentStylePath().
Referenced by outWorkingForm().
|
private |
Definition at line 699 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
|
private |
Definition at line 550 of file class.ilTestOutputGUI.php.
Referenced by populateNextButtonsLeadingToEndOfTest().
|
private |
Definition at line 523 of file class.ilTestOutputGUI.php.
Referenced by populateNextButtonsLeadingToQuestion().
|
private |
Definition at line 570 of file class.ilTestOutputGUI.php.
Referenced by populateNextButtonsLeadingToSummary().
|
private |
Definition at line 628 of file class.ilTestOutputGUI.php.
Referenced by populatePostponeButtons().
|
private |
Definition at line 673 of file class.ilTestOutputGUI.php.
Referenced by populatePreviousButtonsLeadingToIntroduction().
|
private |
Definition at line 653 of file class.ilTestOutputGUI.php.
Referenced by populatePreviousButtonLeadingToQuestion().
|
private |
Definition at line 608 of file class.ilTestOutputGUI.php.
Referenced by populateSummaryButtons().
|
private |
Definition at line 544 of file class.ilTestOutputGUI.php.
References populateLowerNextButtonBlockLeadingToEndOfTest(), and populateUpperNextButtonBlockLeadingToEndOfTest().
Referenced by outWorkingForm().
|
private |
Definition at line 517 of file class.ilTestOutputGUI.php.
References populateLowerNextButtonBlockLeadingToQuestion(), and populateUpperNextButtonBlockLeadingToQuestion().
Referenced by outWorkingForm().
|
private |
Definition at line 564 of file class.ilTestOutputGUI.php.
References populateLowerNextButtonBlockLeadingToSummary(), and populateUpperNextButtonBlockLeadingToSummary().
Referenced by outWorkingForm().
|
private |
Definition at line 622 of file class.ilTestOutputGUI.php.
References populateLowerPostponeButtonBlock(), and populateUpperPostponeButtonBlock().
Referenced by outWorkingForm().
|
private |
Definition at line 647 of file class.ilTestOutputGUI.php.
References populateLowerPreviousButtonBlockLeadingToQuestion(), and populateUpperPreviousButtonBlockLeadingToQuestion().
Referenced by populatePreviousButtons().
|
private |
Definition at line 489 of file class.ilTestOutputGUI.php.
References $sequence, isFirstPageInSequence(), populatePreviousButtonLeadingToQuestion(), and populatePreviousButtonsLeadingToIntroduction().
Referenced by outWorkingForm().
|
private |
Definition at line 667 of file class.ilTestOutputGUI.php.
References populateLowerPreviousButtonBlockLeadingToIntroduction(), and populateUpperPreviousButtonBlockLeadingToIntroduction().
Referenced by populatePreviousButtons().
|
private |
Definition at line 509 of file class.ilTestOutputGUI.php.
References ilUtil\getImagePath().
Referenced by outWorkingForm().
|
private |
Definition at line 501 of file class.ilTestOutputGUI.php.
References ilUtil\getImagePath().
Referenced by outWorkingForm().
|
private |
Definition at line 710 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
|
private |
Definition at line 719 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
|
private |
Definition at line 687 of file class.ilTestOutputGUI.php.
Referenced by outWorkingForm().
|
private |
Definition at line 602 of file class.ilTestOutputGUI.php.
References populateLowerSummaryButtonBlock(), and populateUpperSummaryButtonBlock().
Referenced by outWorkingForm().
|
private |
Definition at line 748 of file class.ilTestOutputGUI.php.
References ilObjStyleSheet\getSyntaxStylePath().
Referenced by outWorkingForm().
|
private |
Definition at line 557 of file class.ilTestOutputGUI.php.
Referenced by populateNextButtonsLeadingToEndOfTest().
|
private |
Definition at line 530 of file class.ilTestOutputGUI.php.
Referenced by populateNextButtonsLeadingToQuestion().
|
private |
Definition at line 577 of file class.ilTestOutputGUI.php.
Referenced by populateNextButtonsLeadingToSummary().
|
private |
Definition at line 635 of file class.ilTestOutputGUI.php.
Referenced by populatePostponeButtons().
|
private |
Definition at line 680 of file class.ilTestOutputGUI.php.
Referenced by populatePreviousButtonsLeadingToIntroduction().
|
private |
Definition at line 660 of file class.ilTestOutputGUI.php.
Referenced by populatePreviousButtonLeadingToQuestion().
|
private |
Definition at line 615 of file class.ilTestOutputGUI.php.
Referenced by populateSummaryButtons().
ilTestOutputGUI::postpone | ( | ) |
Postpone a question to the end of the test.
Postpone a question to the end of the test
public
Definition at line 1287 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
ilTestOutputGUI::previous | ( | ) |
Go to the previous question.
Go to the previous question
public
Definition at line 1273 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
ilTestOutputGUI::redirectAfterAutosave | ( | ) |
Definition at line 1204 of file class.ilTestOutputGUI.php.
References getContentBlockName().
ilTestOutputGUI::redirectBack | ( | ) |
Definition at line 1575 of file class.ilTestOutputGUI.php.
References $_GET, and outIntroductionPage().
Referenced by finishTest().
ilTestOutputGUI::redirectQuestion | ( | ) |
Called when a user answered a question to perform a redirect after POST.
This is called for security reasons to prevent users sending a form twice.
public
Definition at line 977 of file class.ilTestOutputGUI.php.
References $_GET, $_SESSION, $ilUser, assQuestion\_updateTestPassResults(), ilObjTest\allObligationsAnswered(), calculateSequence(), outQuestionSummary(), outTestPage(), and ilUtil\sendInfo().
Referenced by finishTest().
ilTestOutputGUI::resetmarked | ( | ) |
Set a question unsolved.
Set a question unsolved
public
Definition at line 1343 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
ilTestOutputGUI::resume | ( | ) |
Resume a test at the last position.
Resume a test at the last position
public
Definition at line 922 of file class.ilTestOutputGUI.php.
References handleStartCommands(), and showMaximumAllowedUsersReachedMessage().
ilTestOutputGUI::saveQuestionSolution | ( | $force = FALSE | ) |
saves the user input of a question
Definition at line 154 of file class.ilTestOutputGUI.php.
References $_GET, $_POST, $_SESSION, $ilUser, $pass, $saveResult, canSaveResult(), OUTPUT_JAVASCRIPT, and updateWorkingTime().
Referenced by autosave(), confirmHintRequest(), directfeedback(), gotoQuestion(), next(), postpone(), previous(), resetmarked(), selectImagemapRegion(), setmarked(), showRequestedHintList(), summary(), and togglesidelist().
ilTestOutputGUI::saveTags | ( | ) |
Definition at line 54 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::selectImagemapRegion | ( | ) |
Select an image map region in an image map question.
Select an image map region in an image map question
public
Definition at line 1371 of file class.ilTestOutputGUI.php.
References $_POST, saveQuestionSolution(), and togglesidelist().
ilTestOutputGUI::setAnonymousId | ( | ) |
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
public
Definition at line 817 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::setmarked | ( | ) |
Set a question solved.
Set a question solved
public
Definition at line 1329 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
ilTestOutputGUI::showFinalStatement | ( | ) |
Definition at line 1602 of file class.ilTestOutputGUI.php.
References $_GET, and getContentBlockName().
ilTestOutputGUI::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 2139 of file class.ilTestOutputGUI.php.
References $ilUser, $pass, getContentBlockName(), ilTestServiceGUI\getResultsSignature(), ilTestServiceGUI\getResultsUserdata(), and ilUtil\getStyleSheetLocation().
Referenced by backConfirmFinish(), and finishTest().
ilTestOutputGUI::showMaximumAllowedUsersReachedMessage | ( | ) |
Definition at line 2058 of file class.ilTestOutputGUI.php.
References getContentBlockName().
Referenced by resume(), and startTest().
ilTestOutputGUI::showPasswordProtectionPage | ( | ) |
Displays a password protection page when a test password is set.
public
Definition at line 772 of file class.ilTestOutputGUI.php.
References getContentBlockName().
Referenced by startTest().
|
private |
Go to requested hint list.
private
Definition at line 2241 of file class.ilTestOutputGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, and saveQuestionSolution().
|
private |
Definition at line 727 of file class.ilTestOutputGUI.php.
References $ilUser, ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), and outQuestionSummary().
Referenced by outWorkingForm().
ilTestOutputGUI::start | ( | ) |
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
public
Definition at line 834 of file class.ilTestOutputGUI.php.
References $_POST, $_SESSION, and handleStartCommands().
ilTestOutputGUI::startTest | ( | ) |
Start a test for the first time after a redirect.
public
Definition at line 853 of file class.ilTestOutputGUI.php.
References $_SESSION, $ilUser, showMaximumAllowedUsersReachedMessage(), and showPasswordProtectionPage().
ilTestOutputGUI::summary | ( | ) |
Show the question summary in online exams.
Show the question summary in online exams
public
Definition at line 1301 of file class.ilTestOutputGUI.php.
References saveQuestionSolution().
ilTestOutputGUI::summaryWithoutSaving | ( | ) |
Definition at line 1316 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::togglesidelist | ( | ) |
Toggle side list.
Definition at line 1242 of file class.ilTestOutputGUI.php.
References $ilUser, and saveQuestionSolution().
Referenced by selectImagemapRegion().
ilTestOutputGUI::updateWorkingTime | ( | ) |
updates working time and stores state saveresult to see if question has to be stored or not
Definition at line 143 of file class.ilTestOutputGUI.php.
References $_SESSION.
Referenced by saveQuestionSolution().
ilTestOutputGUI::$cmdCtrl |
Definition at line 32 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::$endingTimeReached |
Definition at line 34 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::$maxProcessingTimeReached |
Definition at line 33 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::$ref_id |
Definition at line 28 of file class.ilTestOutputGUI.php.
ilTestOutputGUI::$saveResult |
Definition at line 30 of file class.ilTestOutputGUI.php.
Referenced by saveQuestionSolution().
ilTestOutputGUI::$sequence |
Definition at line 31 of file class.ilTestOutputGUI.php.
Referenced by calculateSequence(), isFirstPageInSequence(), outQuestionSummary(), outWorkingForm(), and populatePreviousButtons().