|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Output class for assessment test evaluation. More...
Inheritance diagram for ilTestEvaluationGUI:
Collaboration diagram for ilTestEvaluationGUI:Public Member Functions | |
| __construct (ilObjTest $object) | |
| getTestAccess () | |
| setTestAccess ($testAccess) | |
| executeCommand () | |
| execute command More... | |
| getEvaluationQuestionId ($question_id, $original_id='') | |
| Returns the ID of a question for evaluation purposes. More... | |
| printResults () | |
| showResults () | |
| outUserPassDetails () | |
| outUserResultsOverview () | |
| outUserListOfAnswerPasses () | |
| outCertificate () | |
| confirmDeletePass () | |
| cancelDeletePass () | |
| performDeletePass () | |
Public Member Functions inherited from ilTestServiceGUI | |
| 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 () | |
Protected Member Functions | |
| setCss () | |
| redirectBackToParticipantsScreen () | |
| sendPage (string $page) | |
| buildResultsTitle (string $fullname, int $pass) | |
Protected Member Functions inherited from ilTestServiceGUI | |
| getPassDetailsOverviewTableGUI (array $result_array, int $active_id, int $pass, ilTestServiceGUI $target_gui, string $target_cmd, ?ilTestQuestionRelatedObjectivesList $objectives_list=null, bool $multiple_objectives_involved=true) | |
| buildPassDetailsOverviewTableGUI (ilTestServiceGUI $target_gui, string $target_cmd) | |
| isGradingMessageRequired () | |
| getGradingMessageBuilder (int $active_id) | |
| buildQuestionRelatedObjectivesList (ilLOTestQuestionAdapter $objectives_adapter, ilTestQuestionSequence $test_sequence) | |
| populateContent (string $content) | |
| outCorrectSolutionCmd () | |
| outCorrectSolution () | |
| populatePassFinishDate (ilTemplate $tpl, ?int $pass_finish_date) | |
| populateExamId (ilTemplate $tpl, int $active_id, int $pass) | |
Private Member Functions | |
| redirectToPassDeletionContext (string $context) | |
| buildAttemptComponents (int $active_id, int $attempt_id, bool $with_test_results_overview, bool $for_print) | |
| addPrintResultsButtonToToolbar () | |
| addPrintButtonToToolbar () | |
| addCertificateDownloadButtonToToolbar () | |
| addToggleBestSolutionButtonToToolbar () | |
| addParticipantSelectorToToolbar (array $selected_active_ids, int $current_active_id) | |
| buildParticipantSelectorArray (array $selected_active_ids, int $current_active_id) | |
| addAttemptSwitchingViewControlToToolbar (array $available_attempts, int $selected_attempt) | |
| buildAttemptSwitchingViewControl (array $available_attempts, int $selected_attempt) | |
Private Attributes | |
| const | DEFAULT_CMD = 'outUserListOfAnswerPasses' |
Output class for assessment test evaluation.
The ilTestEvaluationGUI class creates the output for the ilObjTestGUI class when authors evaluate a test. This saves some heap space because the ilObjTestGUI class will be much smaller then
\
@ilCtrl_Calls ilTestEvaluationGUI: ilTestPassDetailsOverviewTableGUI @ilCtrl_Calls ilTestEvaluationGUI: ilTestPassDeletionConfirmationGUI
Definition at line 46 of file class.ilTestEvaluationGUI.php.
| ilTestEvaluationGUI::__construct | ( | ilObjTest | $object | ) |
Definition at line 52 of file class.ilTestEvaluationGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
private |
Definition at line 974 of file class.ilTestEvaluationGUI.php.
Referenced by outUserListOfAnswerPasses().
Here is the caller graph for this function:
|
private |
Definition at line 903 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\toolbar().
Referenced by outUserPassDetails(), and outUserResultsOverview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 940 of file class.ilTestEvaluationGUI.php.
Referenced by showResults().
Here is the caller graph for this function:
|
private |
Definition at line 889 of file class.ilTestEvaluationGUI.php.
References $id, and ILIAS\Repository\toolbar().
Referenced by outUserListOfAnswerPasses(), outUserPassDetails(), and outUserResultsOverview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 874 of file class.ilTestEvaluationGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\Repository\toolbar().
Referenced by showResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 913 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\lng(), ilSession\set(), and ILIAS\Repository\toolbar().
Referenced by showResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 801 of file class.ilTestEvaluationGUI.php.
Referenced by printResults().
Here is the caller graph for this function:
|
private |
Definition at line 988 of file class.ilTestEvaluationGUI.php.
Referenced by showResults().
Here is the caller graph for this function:
|
private |
Definition at line 953 of file class.ilTestEvaluationGUI.php.
|
protected |
Definition at line 786 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by printResults(), and showResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestEvaluationGUI::cancelDeletePass | ( | ) |
Definition at line 562 of file class.ilTestEvaluationGUI.php.
References redirectToPassDeletionContext().
Here is the call graph for this function:| ilTestEvaluationGUI::confirmDeletePass | ( | ) |
Definition at line 544 of file class.ilTestEvaluationGUI.php.
References $context, ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and redirectToPassDeletionContext().
Here is the call graph for this function:| ilTestEvaluationGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 74 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilTestEvaluationGUI::getEvaluationQuestionId | ( | $question_id, | |
$original_id = '' |
|||
| ) |
Returns the ID of a question for evaluation purposes.
If a question id and the id of the original question are given, this function returns the original id, otherwise the question id
Definition at line 106 of file class.ilTestEvaluationGUI.php.
| ilTestEvaluationGUI::getTestAccess | ( | ) |
Definition at line 64 of file class.ilTestEvaluationGUI.php.
References $testAccess.
| ilTestEvaluationGUI::outCertificate | ( | ) |
Definition at line 530 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilTestEvaluationGUI::outUserListOfAnswerPasses | ( | ) |
Definition at line 428 of file class.ilTestEvaluationGUI.php.
References $user_id, ilObjTest\_getResultPass(), addAttemptSwitchingViewControlToToolbar(), addPrintButtonToToolbar(), ilTestServiceGUI\buildQuestionRelatedObjectivesList(), ILIAS\Repository\ctrl(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getResultsSignature(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), ILIAS\Repository\object(), ilTestServiceGUI\setContextResultPresentation(), setCss(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilTestEvaluationGUI::outUserPassDetails | ( | ) |
Definition at line 222 of file class.ilTestEvaluationGUI.php.
References $data, ilTestServiceGUI\$settings, ilTestServiceGUI\$tpl, $user_id, addCertificateDownloadButtonToToolbar(), addPrintButtonToToolbar(), ilTestServiceGUI\buildQuestionRelatedObjectivesList(), ILIAS\Repository\ctrl(), ILIAS\UICore\GlobalTemplate\get(), ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getGradingMessageBuilder(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getResultsSignature(), ilTestServiceGUI\isGradingMessageRequired(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), ILIAS\Repository\object(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ilTestServiceGUI\populateExamId(), ilTestServiceGUI\populatePassFinishDate(), setCss(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setVariable(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilTestEvaluationGUI::outUserResultsOverview | ( | ) |
Definition at line 343 of file class.ilTestEvaluationGUI.php.
References $user_id, addCertificateDownloadButtonToToolbar(), addPrintButtonToToolbar(), ilTestServiceGUI\buildPassOverviewTableGUI(), ILIAS\Repository\ctrl(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilTestServiceGUI\getGradingMessageBuilder(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassOverviewTableData(), ilTestServiceGUI\isGradingMessageRequired(), ILIAS\Repository\lng(), ILIAS\Repository\object(), setCss(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilTestEvaluationGUI::performDeletePass | ( | ) |
Definition at line 580 of file class.ilTestEvaluationGUI.php.
References $context, ilTestServiceGUI\$db, $ilDB, ilObjTest\_getResultPass(), ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and redirectToPassDeletionContext().
Here is the call graph for this function:| ilTestEvaluationGUI::printResults | ( | ) |
Definition at line 124 of file class.ilTestEvaluationGUI.php.
References $components, $id, ilObjTest\_getResultPass(), ilObjUser\_lookupFullname(), buildAttemptComponents(), buildResultsTitle(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
Definition at line 772 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
private |
Definition at line 567 of file class.ilTestEvaluationGUI.php.
References $context, ilTestPassDeletionConfirmationGUI\CONTEXT_INFO_SCREEN, ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, and ILIAS\Repository\ctrl().
Referenced by cancelDeletePass(), confirmDeletePass(), and performDeletePass().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 777 of file class.ilTestEvaluationGUI.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Definition at line 115 of file class.ilTestEvaluationGUI.php.
References ilObjStyleSheet\getContentStylePath(), ilUtil\getStyleSheetLocation(), and ILIAS\Repository\object().
Referenced by outUserListOfAnswerPasses(), outUserPassDetails(), outUserResultsOverview(), and showResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestEvaluationGUI::setTestAccess | ( | $testAccess | ) |
Definition at line 69 of file class.ilTestEvaluationGUI.php.
References $testAccess.
| ilTestEvaluationGUI::showResults | ( | ) |
Definition at line 163 of file class.ilTestEvaluationGUI.php.
References ilObjTest\_getResultPass(), ilObjUser\_lookupFullname(), addParticipantSelectorToToolbar(), addPrintResultsButtonToToolbar(), addToggleBestSolutionButtonToToolbar(), buildAttemptSwitchingViewControl(), buildResultsTitle(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), setCss(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 50 of file class.ilTestEvaluationGUI.php.
|
protected |
Definition at line 49 of file class.ilTestEvaluationGUI.php.
Referenced by getTestAccess(), and setTestAccess().
|
private |
Definition at line 48 of file class.ilTestEvaluationGUI.php.