|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilTestScoringByQuestionsGUI:
Collaboration diagram for ilTestScoringByQuestionsGUI:Public Member Functions | |
| __construct (ilObjTest $a_object) | |
| checkConstraintsBeforeSaving () | |
Public Member Functions inherited from ilTestScoringGUI | |
| __construct (ilObjTest $a_object) | |
| ilTestScoringGUI constructor More... | |
| getTestAccess () | |
| setTestAccess ($testAccess) | |
| executeCommand () | |
| execute command More... | |
Public Member Functions inherited from ilTestServiceGUI | |
| isContextResultPresentation () | |
| setContextResultPresentation (bool $contextResultPresentation) | |
| setParticipantData (ilTestParticipantData $participantData) | |
| getParticipantData () | |
| getPassOverviewTableData (ilTestSession $testSession, $passes, $withResults) | |
| This method uses the data of a given test pass to create an evaluation for displaying into a table used in the ilTestEvaluationGUI. More... | |
| setObjectiveOrientedContainer (ilTestObjectiveOrientedContainer $objective_oriented_container) | |
| getObjectiveOrientedContainer () | |
| executeCommand () | |
| execute command More... | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl 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, ilTestResultHeaderLabelBuilder $testResultHeaderLabelBuilder=null) | |
| Returns the list of answers of a users test pass. More... | |
| getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=false) | |
| Returns the list of answers of a users test pass and offers a scoring option. More... | |
| getResultsSignature () | |
| Returns HTML code for a signature field. More... | |
| getAdditionalUsrDataHtmlAndPopulateWindowTitle ($testSession, $active_id, $overwrite_anonymity=false) | |
| Returns the user data for a test results output. More... | |
| getCorrectSolutionOutput ($question_id, $active_id, $pass, ilTestQuestionRelatedObjectivesList $objectives_list=null) | |
| Returns an output of the solution to an answer compared to the correct solution. More... | |
| getResultsOfUserOutput (ilTestSession $testSession, int $active_id, int $pass, ilParticipantsTestResultsGUI $target_gui, bool $show_pass_details=true, bool $show_answers=true, bool $show_question_only=false, bool $show_reached_points=false) | |
| Output of the pass overview for a test called by a test participant. More... | |
| getResultsHeadUserAndPass ($active_id, $pass) | |
| Returns the user and pass data for a test results output. More... | |
| getQuestionResultForTestUsers (int $question_id, int $test_id) | |
| getObject () | |
Data Fields | |
| const | EXCEPT_FINALIZED = '1' |
| const | ONLY_FINALIZED = '2' |
Data Fields inherited from ilTestScoringGUI | |
| const | PART_FILTER_ALL_USERS = 3 |
| const | PART_FILTER_MANSCORING_DONE = 4 |
| const | PART_FILTER_MANSCORING_NONE = 5 |
Protected Member Functions | |
| getDefaultCommand () | |
| getActiveSubTabId () | |
| showManScoringByQuestionParticipantsTable (array $manPointsPost=[]) | |
| saveManScoringByQuestion (bool $ajax=false) | |
| applyManScoringByQuestionFilter () | |
| resetManScoringByQuestionFilter () | |
| getAnswerDetail () | |
| retrieveFeedback (int $active_id, int $qst_id, int $pass) | |
Protected Member Functions inherited from ilTestScoringGUI | |
| buildSubTabs ($active_sub_tab='man_scoring_by_qst') | |
| getDefaultCommand () | |
| getActiveSubTabId () | |
Protected Member Functions inherited from ilTestServiceGUI | |
| getPassDetailsOverviewTableGUI (array $result_array, int $active_id, int $pass, ilTestServiceGUI|ilParticipantsTestResultsGUI $target_gui, string $target_cmd, ilTestQuestionRelatedObjectivesList $objectives_list=null, bool $multiple_objectives_involved=true) | |
| buildPassDetailsOverviewTableGUI (ilTestServiceGUI|ilParticipantsTestResultsGUI $target_gui, string $target_cmd) | |
| isGradingMessageRequired () | |
| getGradingMessageBuilder (int $active_id) | |
| buildQuestionRelatedObjectivesList (ilLOTestQuestionAdapter $objectives_adapter, ilTestQuestionSequence $test_sequence) | |
| getFilteredTestResult (int $active_id, int $pass, bool $considerHiddenQuestions, bool $considerOptionalQuestions) | |
| populateContent ($content) | |
| buildUserTestResultsToolbarGUI () | |
| outCorrectSolutionCmd () | |
| outCorrectSolution () | |
| Creates an output of the solution of an answer compared to the correct solution. More... | |
| populatePassFinishDate (ilTemplate $tpl, ?int $pass_finish_date) | |
| populateExamId (ilTemplate $tpl, int $active_id, int $pass) | |
Private Member Functions | |
| appendUserNameToModal (ilTemplate $tmp_tpl, ilTestEvaluationUserData $participant_data) | |
| appendQuestionTitleToModal (ilTemplate $tmp_tpl, int $question_id, float $max_points, string $title) | |
| appendFormToModal (ilTemplate $tmp_tpl, int $pass, int $active_id, int $question_id, float $max_points) | |
| appendSolutionAndPointsToModal (ilTemplate $tmp_tpl, $result_output, $reached_points, $max_points) | |
| saveFinalization (array $finalization, int $active_id, int $qst_id, int $pass, ?string $feedback, bool $is_single_feedback) | |
| doesValueExistsInPostArray (array $finalization, int $active_id, int $qst_id, int $pass) | |
Definition at line 23 of file class.ilTestScoringByQuestionsGUI.php.
| ilTestScoringByQuestionsGUI::__construct | ( | ilObjTest | $a_object | ) |
Definition at line 28 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct().
Here is the call graph for this function:
|
private |
Definition at line 565 of file class.ilTestScoringByQuestionsGUI.php.
References assQuestion\_getReachedPoints(), ilObjAdvancedEditing\_getRichTextEditor(), ILIAS\Repository\ctrl(), ilObjTest\getSingleManualFeedback(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilTextAreaInputGUI\setValue(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 550 of file class.ilTestScoringByQuestionsGUI.php.
References ilTestServiceGUI\$lng, ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilTemplate | $tmp_tpl | |
| $result_output | ||
| $reached_points | ||
| $max_points |
Definition at line 660 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 532 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\Repository\access(), ilTestEvaluationUserData\getName(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and HTML_Template_IT\setVariable().
Referenced by getAnswerDetail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 419 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\Repository\access(), and showManScoringByQuestionParticipantsTable().
Here is the call graph for this function:| ilTestScoringByQuestionsGUI::checkConstraintsBeforeSaving | ( | ) |
Definition at line 527 of file class.ilTestScoringByQuestionsGUI.php.
References saveManScoringByQuestion().
Here is the call graph for this function:
|
private |
| array<numeric-string|int,array<numeric-string|int,array<numeric-string|int,bool>>> | $finalization |
Definition at line 727 of file class.ilTestScoringByQuestionsGUI.php.
Referenced by saveFinalization().
Here is the caller graph for this function:
|
protected |
Definition at line 38 of file class.ilTestScoringByQuestionsGUI.php.
|
protected |
Definition at line 435 of file class.ilTestScoringByQuestionsGUI.php.
References $data, ilTestServiceGUI\$lng, assQuestion\_getSuggestedSolutionOutput(), appendFormToModal(), appendQuestionTitleToModal(), appendSolutionAndPointsToModal(), appendUserNameToModal(), ilTestScoringGUI\getTestAccess(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
Definition at line 33 of file class.ilTestScoringByQuestionsGUI.php.
|
protected |
Definition at line 427 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\Repository\access(), and showManScoringByQuestionParticipantsTable().
Here is the call graph for this function:
|
protected |
Definition at line 680 of file class.ilTestScoringByQuestionsGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), and ilUtil\stripSlashes().
Referenced by saveManScoringByQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| array<numeric-string|int,array<numeric-string|int,array<numeric-string|int,bool>>> | $finalization |
Definition at line 701 of file class.ilTestScoringByQuestionsGUI.php.
References doesValueExistsInPostArray().
Referenced by saveManScoringByQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
26.09.23 sk: Ok, this is a hack, but to do this right we need to go through the whole flow here. It is very convoluted and I'm unsure what would happen if I would really change something. This feature is in urgent need of refactoring and a repo.
Definition at line 154 of file class.ilTestScoringByQuestionsGUI.php.
References ILIAS\LTI\ToolProvider\$key, ilTestServiceGUI\$participantData, ilObjTestAccess\_getParticipantId(), assQuestion\_getReachedPoints(), ilObjUser\_lookupFullname(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), ILIAS\Repository\ctrl(), ilTestParticipantData\getActiveIds(), ilObjTest\getSingleManualFeedback(), ilTestScoringGUI\getTestAccess(), ILIAS\FileDelivery\http(), IL_CAL_DATETIME, IL_CAL_UNIX, assQuestion\instantiateQuestion(), ILIAS\Repository\lng(), ilTestParticipantData\load(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), retrieveFeedback(), saveFinalization(), ilTestParticipantData\setActiveIdsFilter(), ilTestParticipantData\setParticipantAccessFilter(), showManScoringByQuestionParticipantsTable(), and ILIAS\Repository\user().
Referenced by checkConstraintsBeforeSaving().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| array | $manPointsPost |
Definition at line 46 of file class.ilTestScoringByQuestionsGUI.php.
References $data, ilTestServiceGUI\$participantData, assQuestion\_getReachedPoints(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilTestParticipantData\getActiveIds(), iljQueryUtil\initjQuery(), ilYuiUtil\initOverlay(), ilYuiUtil\initPanel(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilTestParticipantData\load(), ILIAS\Repository\object(), ilTestParticipantData\setActiveIdsFilter(), ilTestParticipantData\setParticipantAccessFilter(), ilTestTabsManager\TAB_ID_MANUAL_SCORING, and ILIAS\Repository\tabs().
Referenced by applyManScoringByQuestionFilter(), resetManScoringByQuestionFilter(), and saveManScoringByQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| const ilTestScoringByQuestionsGUI::EXCEPT_FINALIZED = '1' |
Definition at line 25 of file class.ilTestScoringByQuestionsGUI.php.
Referenced by ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter().
| const ilTestScoringByQuestionsGUI::ONLY_FINALIZED = '2' |
Definition at line 26 of file class.ilTestScoringByQuestionsGUI.php.
Referenced by ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter().