ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (private readonly ilDBInterface $database, private readonly ilCtrlInterface $ctrl, private readonly ilLanguage $language, private readonly ilTabsGUI $tabs, private readonly ilHelpGUI $help, private readonly UIFactory $ui_factory, private readonly ilGlobalTemplateInterface $main_tpl, private readonly RefineryFactory $refinery, private readonly TestLogger $logger, private readonly RequestDataCollector $testrequest, private readonly ilObjTest $test_obj, private readonly ilObjUser $scorer,) | |
executeCommand () | |
getRefId () | |
Protected Member Functions | |
showQuestion (?ilPropertyFormGUI $form=null) | |
buildQuestionCorrectionForm (assQuestionGUI $question_gui) | |
confirmManualScoringReset () | |
saveQuestion () | |
showSolution () | |
showAnswerStatistic (?array $participant_results=null) | |
addAnswer () | |
addHiddenItemsFromArray (ilConfirmationGUI $gui, $array, $curPath=[]) | |
setCorrectionTabsContext (assQuestionGUI $question_gui, string $active_tab_id) | |
populatePageTitleAndDescription (assQuestionGUI $question_gui) | |
checkQuestion () | |
getQuestionGUI (int $question_id) | |
getSolutions (assQuestion $question) | |
getQuestions () | |
supportsAdjustment (\assQuestionGUI $question_object) | |
Returns if the given question object support scoring adjustment. More... | |
Private Member Functions | |
getSolutionsByParticipantResults (assQuestion $question, array $participant_results) | |
Private Attributes | |
assQuestionGUI | $question_gui = null |
ilTestAccess | $test_access |
Definition at line 36 of file class.ilTestCorrectionsGUI.php.
ilTestCorrectionsGUI::__construct | ( | private readonly ilDBInterface | $database, |
private readonly ilCtrlInterface | $ctrl, | ||
private readonly ilLanguage | $language, | ||
private readonly ilTabsGUI | $tabs, | ||
private readonly ilHelpGUI | $help, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly ilGlobalTemplateInterface | $main_tpl, | ||
private readonly RefineryFactory | $refinery, | ||
private readonly TestLogger | $logger, | ||
private readonly RequestDataCollector | $testrequest, | ||
private readonly ilObjTest | $test_obj, | ||
private readonly ilObjUser | $scorer | ||
) |
Definition at line 41 of file class.ilTestCorrectionsGUI.php.
References getQuestionGUI().
|
protected |
Definition at line 267 of file class.ilTestCorrectionsGUI.php.
References $data, ILIAS\Repository\ctrl(), ILIAS\Repository\database(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\logger(), ILIAS\Test\Logging\QUESTION_MODIFIED_IN_CORRECTIONS, ILIAS\Repository\refinery(), and showAnswerStatistic().
|
protected |
Definition at line 319 of file class.ilTestCorrectionsGUI.php.
References ilConfirmationGUI\addHiddenItem().
Referenced by confirmManualScoringReset().
|
protected |
Definition at line 90 of file class.ilTestCorrectionsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\database(), assQuestionGUI\getObject(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), and assQuestionGUI\populateCorrectionsFormProperties().
Referenced by saveQuestion(), and showQuestion().
|
protected |
Definition at line 384 of file class.ilTestCorrectionsGUI.php.
References supportsAdjustment().
Referenced by executeCommand().
|
protected |
Definition at line 117 of file class.ilTestCorrectionsGUI.php.
References addHiddenItemsFromArray(), ILIAS\Repository\ctrl(), ILIAS\Repository\database(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), and setCorrectionTabsContext().
ilTestCorrectionsGUI::executeCommand | ( | ) |
Definition at line 62 of file class.ilTestCorrectionsGUI.php.
References checkQuestion(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), and null.
|
protected |
Definition at line 402 of file class.ilTestCorrectionsGUI.php.
References $question_gui, assQuestionGUI\getObject(), null, and assQuestionGUI\setObject().
Referenced by __construct(), and getQuestions().
|
protected |
Definition at line 451 of file class.ilTestCorrectionsGUI.php.
References $c, getQuestionGUI(), and supportsAdjustment().
ilTestCorrectionsGUI::getRefId | ( | ) |
Definition at line 397 of file class.ilTestCorrectionsGUI.php.
|
protected |
Definition at line 414 of file class.ilTestCorrectionsGUI.php.
References ILIAS\Repository\database(), and assQuestion\getSolutionValues().
Referenced by showAnswerStatistic().
|
private |
list<ilTestEvaluationUserData> | $participant_results |
Definition at line 436 of file class.ilTestCorrectionsGUI.php.
References assQuestion\getSolutionValues().
Referenced by showAnswerStatistic().
|
protected |
Definition at line 378 of file class.ilTestCorrectionsGUI.php.
References assQuestionGUI\getObject(), and assQuestionGUI\outQuestionType().
Referenced by showAnswerStatistic(), showQuestion(), and showSolution().
|
protected |
Definition at line 147 of file class.ilTestCorrectionsGUI.php.
References $question_gui, buildQuestionCorrectionForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\database(), assQuestionGUI\getObject(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\logger(), assQuestionGUI\prepareReprintableCorrectionsForm(), ILIAS\Test\Logging\QUESTION_MODIFIED_IN_CORRECTIONS, assQuestionGUI\saveCorrectionsFormProperties(), assQuestionGUI\setObject(), and showQuestion().
|
protected |
Definition at line 340 of file class.ilTestCorrectionsGUI.php.
References ILIAS\Repository\ctrl(), assQuestionGUI\getObject(), ILIAS\Repository\help(), assQuestionGUI\isAnswerFrequencyStatisticSupported(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ILIAS\Repository\tabs().
Referenced by confirmManualScoringReset(), showAnswerStatistic(), showQuestion(), and showSolution().
|
protected |
null|list<ilTestEvaluationUserData> | $participant_results |
Definition at line 242 of file class.ilTestCorrectionsGUI.php.
References getSolutions(), getSolutionsByParticipantResults(), populatePageTitleAndDescription(), and setCorrectionTabsContext().
Referenced by addAnswer().
|
protected |
Definition at line 80 of file class.ilTestCorrectionsGUI.php.
References buildQuestionCorrectionForm(), populatePageTitleAndDescription(), and setCorrectionTabsContext().
Referenced by saveQuestion().
|
protected |
Definition at line 190 of file class.ilTestCorrectionsGUI.php.
References $question_gui, ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), assQuestionGUI\getObject(), assQuestionGUI\getSolutionOutput(), ilObjStyleSheet\getSyntaxStylePath(), null, populatePageTitleAndDescription(), setCorrectionTabsContext(), and ilPageObjectGUI\setFileDownloadLink().
|
protected |
Returns if the given question object support scoring adjustment.
$question_object | assQuestionGUI |
Definition at line 481 of file class.ilTestCorrectionsGUI.php.
References assQuestionGUI\getObject().
Referenced by checkQuestion(), and getQuestions().
|
private |
Definition at line 38 of file class.ilTestCorrectionsGUI.php.
Referenced by getQuestionGUI(), saveQuestion(), and showSolution().
|
private |
Definition at line 39 of file class.ilTestCorrectionsGUI.php.