ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private readonly UIFactory $ui_factory, private \ilGlobalTemplateInterface $tpl, private TabsManager $tabs_manager, private \ilToolbarGUI $toolbar, private readonly Refinery $refinery, private readonly Language $lng, private readonly \ilCtrl $ctrl, private readonly \ilObjUser $user, private readonly \ilTestQuestionHeaderBlockBuilder $question_header_builder, private readonly \ilObjTest $test_obj,) | |
printSelectedQuestions (array $print_view_types, ?Types $selected_print_view_type, array $question_ids) | |
printAnswers (int $question_id) | |
Private Member Functions | |
addQuestionResultForTestUsersToTemplate (\ilTemplate $template, \assQuestionGUI $question_gui, int $test_id) | |
addResultUserInfoToTemplate (\ilTemplate $template, int $active_id, int $pass) | |
addPrintButtonToToolbar () | |
Definition at line 29 of file Printer.php.
ILIAS\Test\Questions\Presentation\Printer::__construct | ( | private readonly UIFactory | $ui_factory, |
private \ilGlobalTemplateInterface | $tpl, | ||
private TabsManager | $tabs_manager, | ||
private \ilToolbarGUI | $toolbar, | ||
private readonly Refinery | $refinery, | ||
private readonly Language | $lng, | ||
private readonly \ilCtrl | $ctrl, | ||
private readonly \ilObjUser | $user, | ||
private readonly \ilTestQuestionHeaderBlockBuilder | $question_header_builder, | ||
private readonly \ilObjTest | $test_obj | ||
) |
|
private |
Definition at line 230 of file Printer.php.
References $id, ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by ILIAS\Test\Questions\Presentation\Printer\printAnswers(), and ILIAS\Test\Questions\Presentation\Printer\printSelectedQuestions().
|
private |
Definition at line 155 of file Printer.php.
References ilObjTest\_getResultPass(), ILIAS\Test\Questions\Presentation\Printer\addResultUserInfoToTemplate(), assQuestionGUI\getObject(), assQuestionGUI\getSolutionOutput(), null, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by ILIAS\Test\Questions\Presentation\Printer\printAnswers().
|
private |
Definition at line 202 of file Printer.php.
References $user_id, ilObjUser\_lookupLogin(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by ILIAS\Test\Questions\Presentation\Printer\addQuestionResultForTestUsersToTemplate().
ILIAS\Test\Questions\Presentation\Printer::printAnswers | ( | int | $question_id | ) |
Definition at line 123 of file Printer.php.
References ILIAS\Test\Questions\Presentation\Printer\addPrintButtonToToolbar(), ILIAS\Test\Questions\Presentation\Printer\addQuestionResultForTestUsersToTemplate(), ILIAS\Repository\ctrl(), ilUtil\getStyleSheetLocation(), ILIAS\Repository\lng(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilObjTestGUI\SHOW_QUESTIONS_CMD, and ILIAS\Repository\user().
ILIAS\Test\Questions\Presentation\Printer::printSelectedQuestions | ( | array | $print_view_types, |
?Types | $selected_print_view_type, | ||
array | $question_ids | ||
) |
array<int> | $question_ids |
Definition at line 51 of file Printer.php.
References ILIAS\Test\Questions\Presentation\Printer\addPrintButtonToToolbar(), ILIAS\Repository\ctrl(), ilUtil\getStyleSheetLocation(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilObjTestGUI\SHOW_QUESTIONS_CMD, ILIAS\Repository\toolbar(), and ILIAS\Repository\user().