ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (Container $DIC, ilObjTest $testOBJ) | |
ilTestCorrectionsGUI constructor. More... | |
executeCommand () | |
Protected Member Functions | |
showQuestionList () | |
showQuestion (ilPropertyFormGUI $form=null) | |
saveQuestion () | |
buildQuestionCorrectionForm (assQuestionGUI $questionGUI) | |
addHiddenItemsFromArray (ilConfirmationGUI $gui, $array, $curPath=array()) | |
confirmManualScoringReset () | |
showSolution () | |
showAnswerStatistic () | |
addAnswer () | |
confirmQuestionRemoval () | |
performQuestionRemoval () | |
setCorrectionTabsContext (assQuestionGUI $questionGUI, $activeTabId) | |
populatePageTitleAndDescription (assQuestionGUI $questionGUI) | |
checkQuestion ($qId) | |
getQuestion ($qId) | |
getSolutions (assQuestion $question) | |
getQuestions () | |
supportsAdjustment (\assQuestionGUI $question_object) | |
Returns if the given question object support scoring adjustment. More... | |
allowedInAdjustment (\assQuestionGUI $question_object) | |
Returns if the question type is allowed for adjustments in the global test administration. More... | |
Protected Attributes | |
ilDBInterface | $database |
ilCtrl | $ctrl |
ilLanguage | $language |
ilTabsGUI | $tabs |
ilHelpGUI | $help |
UIServices | $ui |
RefineryFactory | $refinery |
RequestInterface | $request |
ilObjTest | $testOBJ |
ilTestAccess | $testAccess |
Private Attributes | |
InternalRequestService | $testrequest |
Definition at line 33 of file class.ilTestCorrectionsGUI.php.
ilTestCorrectionsGUI constructor.
\ILIAS\DI\Container | $DIC | |
ilObjTest | $testOBJ |
Definition at line 53 of file class.ilTestCorrectionsGUI.php.
References $testOBJ, ILIAS\Repository\ctrl(), ILIAS\DI\Container\ctrl(), ILIAS\DI\Container\database(), ilObject\getRefId(), ilObjTest\getTestId(), ILIAS\Repository\help(), ILIAS\DI\Container\help(), ILIAS\DI\Container\http(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\DI\Container\language(), ILIAS\Repository\refinery(), ILIAS\DI\Container\refinery(), ILIAS\Repository\tabs(), ILIAS\DI\Container\tabs(), ILIAS\DI\Container\test(), ILIAS\Repository\ui(), and ILIAS\DI\Container\ui().
|
protected |
Definition at line 315 of file class.ilTestCorrectionsGUI.php.
References $ctrl, $data, $language, $refinery, ilAddAnswerFormBuilder\buildAddAnswerForm(), checkQuestion(), getQuestion(), showAnswerStatistic(), and ILIAS\Repository\ui().
|
protected |
Definition at line 199 of file class.ilTestCorrectionsGUI.php.
References $name, and ilConfirmationGUI\addHiddenItem().
Referenced by confirmManualScoringReset().
|
protected |
Returns if the question type is allowed for adjustments in the global test administration.
assQuestionGUI | $question_object |
Definition at line 575 of file class.ilTestCorrectionsGUI.php.
References $type, assQuestionGUI\getQuestionType(), and ilObjQuestionPool\getQuestionTypeByTypeId().
Referenced by checkQuestion(), and getQuestions().
|
protected |
Definition at line 173 of file class.ilTestCorrectionsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), and assQuestionGUI\populateCorrectionsFormProperties().
Referenced by saveQuestion(), and showQuestion().
|
protected |
int | $qId |
Definition at line 480 of file class.ilTestCorrectionsGUI.php.
References allowedInAdjustment(), getQuestion(), and supportsAdjustment().
Referenced by addAnswer(), and executeCommand().
|
protected |
Definition at line 220 of file class.ilTestCorrectionsGUI.php.
References addHiddenItemsFromArray(), ILIAS\Repository\ctrl(), getQuestion(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), setCorrectionTabsContext(), and ILIAS\Repository\ui().
|
protected |
Definition at line 356 of file class.ilTestCorrectionsGUI.php.
References ILIAS\Repository\ctrl(), getQuestion(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ilTestTabsManager\TAB_ID_CORRECTION, ILIAS\Repository\tabs(), and ILIAS\Repository\ui().
ilTestCorrectionsGUI::executeCommand | ( | ) |
Definition at line 68 of file class.ilTestCorrectionsGUI.php.
References ilObjTestGUI\accessViolationRedirect(), checkQuestion(), ILIAS\Repository\ctrl(), and ILIAS\Repository\int().
|
protected |
int | $qId |
Definition at line 503 of file class.ilTestCorrectionsGUI.php.
References assQuestion\instantiateQuestionGUI().
Referenced by addAnswer(), checkQuestion(), confirmManualScoringReset(), confirmQuestionRemoval(), getQuestions(), performQuestionRemoval(), saveQuestion(), showAnswerStatistic(), showQuestion(), and showSolution().
|
protected |
Definition at line 533 of file class.ilTestCorrectionsGUI.php.
References allowedInAdjustment(), getQuestion(), and supportsAdjustment().
Referenced by showQuestionList().
|
protected |
Definition at line 511 of file class.ilTestCorrectionsGUI.php.
References assQuestion\getSolutionValues().
Referenced by showAnswerStatistic().
|
protected |
Definition at line 384 of file class.ilTestCorrectionsGUI.php.
References ilLPStatusWrapper\_refreshStatus(), ILIAS\Repository\ctrl(), getQuestion(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().
|
protected |
assQuestionGUI | $questionGUI |
Definition at line 470 of file class.ilTestCorrectionsGUI.php.
References assQuestionGUI\outQuestionType(), and ILIAS\Repository\ui().
Referenced by showAnswerStatistic(), showQuestion(), and showSolution().
|
protected |
Definition at line 145 of file class.ilTestCorrectionsGUI.php.
References buildQuestionCorrectionForm(), ILIAS\Repository\ctrl(), getQuestion(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), showQuestion(), and ILIAS\Repository\ui().
|
protected |
Definition at line 429 of file class.ilTestCorrectionsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\help(), assQuestionGUI\isAnswerFrequencyStatisticSupported(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ILIAS\Repository\tabs().
Referenced by confirmManualScoringReset(), showAnswerStatistic(), showQuestion(), and showSolution().
|
protected |
Definition at line 291 of file class.ilTestCorrectionsGUI.php.
References getQuestion(), getSolutions(), populatePageTitleAndDescription(), setCorrectionTabsContext(), and ILIAS\Repository\ui().
Referenced by addAnswer().
|
protected |
Definition at line 131 of file class.ilTestCorrectionsGUI.php.
References buildQuestionCorrectionForm(), getQuestion(), populatePageTitleAndDescription(), setCorrectionTabsContext(), and ILIAS\Repository\ui().
Referenced by saveQuestion().
|
protected |
Definition at line 100 of file class.ilTestCorrectionsGUI.php.
References $language, $lng, $txt, $ui, ILIAS\DI\UIServices\factory(), getQuestions(), ILIAS\DI\UIServices\mainTemplate(), ILIAS\DI\UIServices\renderer(), ilTestQuestionsTableGUI\setQuestionRemoveRowButtonEnabled(), ilTestTabsManager\TAB_ID_CORRECTION, and ILIAS\Repository\tabs().
|
protected |
Definition at line 247 of file class.ilTestCorrectionsGUI.php.
References $tpl, ilObjStyleSheet\getContentStylePath(), getQuestion(), ilObjStyleSheet\getSyntaxStylePath(), populatePageTitleAndDescription(), setCorrectionTabsContext(), ilPageObjectGUI\setRenderPageContainer(), and ILIAS\Repository\ui().
|
protected |
Returns if the given question object support scoring adjustment.
$question_object | assQuestionGUI |
Definition at line 561 of file class.ilTestCorrectionsGUI.php.
Referenced by checkQuestion(), and getQuestions().
|
protected |
Definition at line 38 of file class.ilTestCorrectionsGUI.php.
Referenced by addAnswer().
|
protected |
Definition at line 37 of file class.ilTestCorrectionsGUI.php.
|
protected |
Definition at line 41 of file class.ilTestCorrectionsGUI.php.
|
protected |
Definition at line 39 of file class.ilTestCorrectionsGUI.php.
Referenced by addAnswer(), and showQuestionList().
|
protected |
Definition at line 43 of file class.ilTestCorrectionsGUI.php.
Referenced by addAnswer().
|
protected |
Definition at line 44 of file class.ilTestCorrectionsGUI.php.
|
protected |
Definition at line 40 of file class.ilTestCorrectionsGUI.php.
|
protected |
Definition at line 46 of file class.ilTestCorrectionsGUI.php.
|
protected |
Definition at line 45 of file class.ilTestCorrectionsGUI.php.
Referenced by __construct().
|
private |
Definition at line 35 of file class.ilTestCorrectionsGUI.php.
|
protected |
Definition at line 42 of file class.ilTestCorrectionsGUI.php.
Referenced by showQuestionList().