|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilAssQuestionPreviewGUI:Public Member Functions | |
| __construct (private readonly ilCtrl $ctrl, private readonly ilRbacSystem $rbac_system, private ilTabsGUI $tabs, private ilToolbarGUI $toolbar, private ilGlobalTemplateInterface $tpl, private readonly UIFactory $ui_factory, private readonly ilLanguage $lng, private readonly ilDBInterface $db, private readonly RandomGroup $random_group, private readonly GlobalScreen $global_screen, private readonly HTTPServices $http, private readonly Refinery $refinery, private readonly int $parent_obj_ref_id) | |
| setInfoMessage (string $message) | |
| setPrimaryCmd (string $label, string $cmd) | |
| addAdditionalCmd (string $label, string $cmd) | |
| getQuestion () | |
| getObject () | |
| initQuestion (assQuestionGUI $question_gui, int $parent_obj_id) | |
| initPreviewSettings (int $parent_ref_id) | |
| initPreviewSession (int $user_id, int $question_id) | |
| initHintTracking () | |
| initStyleSheets () | |
| executeCommand () | |
| showCmd (string $commands_panel_html='') | |
| assessmentCmd () | |
| handleInstantResponseRendering (ilTemplate $tpl) | |
| resetCmd () | |
| instantResponseCmd () | |
| handleQuestionActionCmd () | |
| displayMediaFullscreenCmd () | |
| saveQuestionSolution () | |
| gatewayConfirmHintRequestCmd () | |
| gatewayShowHintListCmd () | |
Data Fields | |
| const | CMD_SHOW = 'show' |
| const | CMD_RESET = 'reset' |
| const | CMD_STATISTICS = 'assessment' |
| const | CMD_INSTANT_RESPONSE = 'instantResponse' |
| const | CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
| const | CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest' |
| const | CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList' |
| const | TAB_ID_QUESTION = 'question' |
| const | FEEDBACK_FOCUS_ANCHOR = 'focus' |
Protected Member Functions | |
| buildPreviewFormAction () | |
| isCommentingRequired () | |
| populateReachedPointsOutput (ilTemplate $tpl) | |
| populateInstantResponseHeader (ilTemplate $tpl, $withFocusAnchor) | |
| populateInstantResponseMessage (ilTemplate $tpl, string $a_message) | |
| populateCommentsPanel (ilTemplate $tpl, string $comments_panel_html) | |
Protected Attributes | |
| readonly RequestDataCollector | $request_data_collector |
Private Member Functions | |
| populateToolbar () | |
| populateQuestionOutput (ilTemplate $tpl) | |
| populateSolutionOutput (ilTemplate $tpl) | |
| getQuestionNavigationHtml () | |
| populateGenericQuestionFeedback (ilTemplate $tpl) | |
| Populate the block for an instant generic feedback. More... | |
| populateSpecificQuestionFeedback (ilTemplate $tpl) | |
| Populate the block for an instant specific feedback. More... | |
| isShowBestSolutionRequired () | |
| isShowGenericQuestionFeedbackRequired () | |
| isShowSpecificQuestionFeedbackRequired () | |
| isShowReachedPointsRequired () | |
| getQuestionAnswerShuffler () | |
Private Attributes | |
| assQuestionGUI | $question_gui = null |
| assQuestion | $question_obj = null |
| ilAssQuestionPreviewSettings | $preview_settings = null |
| ilAssQuestionPreviewSession | $preview_session = null |
| ilAssQuestionPreviewHintTracking | $hint_tracking = null |
| string | $info_message = null |
| array | $primary_cmd = [] |
| array | $additional_cmds = [] |
Definition at line 45 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::__construct | ( | private readonly ilCtrl | $ctrl, |
| private readonly ilRbacSystem | $rbac_system, | ||
| private ilTabsGUI | $tabs, | ||
| private ilToolbarGUI | $toolbar, | ||
| private ilGlobalTemplateInterface | $tpl, | ||
| private readonly UIFactory | $ui_factory, | ||
| private readonly ilLanguage | $lng, | ||
| private readonly ilDBInterface | $db, | ||
| private readonly RandomGroup | $random_group, | ||
| private readonly GlobalScreen | $global_screen, | ||
| private readonly HTTPServices | $http, | ||
| private readonly Refinery | $refinery, | ||
| private readonly int | $parent_obj_ref_id | ||
| ) |
Definition at line 79 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::addAdditionalCmd | ( | string | $label, |
| string | $cmd | ||
| ) |
Definition at line 111 of file class.ilAssQuestionPreviewGUI.php.
Referenced by ilObjTestGUI\forwardCommandToQuestionPreview().
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::assessmentCmd | ( | ) |
Definition at line 273 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 237 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::displayMediaFullscreenCmd | ( | ) |
Definition at line 368 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::executeCommand | ( | ) |
Definition at line 187 of file class.ilAssQuestionPreviewGUI.php.
References $DIC, ILIAS\Repository\ctrl(), displayMediaFullscreenCmd(), ILIAS\Repository\lng(), showCmd(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd | ( | ) |
Definition at line 596 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, ILIAS\Repository\ctrl(), saveQuestionSolution(), and showCmd().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::gatewayShowHintListCmd | ( | ) |
Definition at line 610 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, ILIAS\Repository\ctrl(), saveQuestionSolution(), and showCmd().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::getObject | ( | ) |
Definition at line 121 of file class.ilAssQuestionPreviewGUI.php.
References $question_obj.
| ilAssQuestionPreviewGUI::getQuestion | ( | ) |
Definition at line 116 of file class.ilAssQuestionPreviewGUI.php.
References $question_obj.
|
private |
Definition at line 627 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
Here is the caller graph for this function:
|
private |
Definition at line 475 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by populateQuestionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::handleInstantResponseRendering | ( | ilTemplate | $tpl | ) |
Definition at line 279 of file class.ilAssQuestionPreviewGUI.php.
References isShowBestSolutionRequired(), isShowGenericQuestionFeedbackRequired(), isShowReachedPointsRequired(), isShowSpecificQuestionFeedbackRequired(), ILIAS\Repository\lng(), populateGenericQuestionFeedback(), populateInstantResponseHeader(), populateInstantResponseMessage(), populateReachedPointsOutput(), populateSolutionOutput(), and populateSpecificQuestionFeedback().
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::handleQuestionActionCmd | ( | ) |
Definition at line 362 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::initHintTracking | ( | ) |
Definition at line 171 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initPreviewSession | ( | int | $user_id, |
| int | $question_id | ||
| ) |
Definition at line 165 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initPreviewSettings | ( | int | $parent_ref_id | ) |
Definition at line 158 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initQuestion | ( | assQuestionGUI | $question_gui, |
| int | $parent_obj_id | ||
| ) |
Definition at line 126 of file class.ilAssQuestionPreviewGUI.php.
References $question_gui, ILIAS\Repository\ctrl(), assQuestionGUI\getObject(), assQuestionGUI\RENDER_PURPOSE_DEMOPLAY, and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 176 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::instantResponseCmd | ( | ) |
Definition at line 351 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 242 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
Here is the caller graph for this function:
|
private |
Definition at line 555 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 564 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 582 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 573 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering(), and populateQuestionOutput().
Here is the caller graph for this function:
|
protected |
Definition at line 635 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Populate the block for an instant generic feedback.
Definition at line 496 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 535 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 548 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 406 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), getQuestionAnswerShuffler(), getQuestionNavigationHtml(), isShowSpecificQuestionFeedbackRequired(), ilPageObjectGUI\setRenderPageContainer(), HTML_Template_IT\setVariable(), and ILIAS\Repository\tabs().
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 436 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 452 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), ilPageObjectGUI\setEditPreview(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Populate the block for an instant specific feedback.
Definition at line 520 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 381 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::resetCmd | ( | ) |
Definition at line 339 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::saveQuestionSolution | ( | ) |
Definition at line 591 of file class.ilAssQuestionPreviewGUI.php.
Referenced by gatewayConfirmHintRequestCmd(), gatewayShowHintListCmd(), and instantResponseCmd().
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::setInfoMessage | ( | string | $message | ) |
Definition at line 101 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::setPrimaryCmd | ( | string | $label, |
| string | $cmd | ||
| ) |
Definition at line 106 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::showCmd | ( | string | $commands_panel_html = '' | ) |
Definition at line 248 of file class.ilAssQuestionPreviewGUI.php.
References buildPreviewFormAction(), assQuestionGUI\CMD_SYNC_QUESTION_AND_RETURN, handleInstantResponseRendering(), isCommentingRequired(), populateCommentsPanel(), populateQuestionOutput(), and populateToolbar().
Referenced by executeCommand(), gatewayConfirmHintRequestCmd(), and gatewayShowHintListCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 77 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 65 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 67 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 64 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 63 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 72 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 61 of file class.ilAssQuestionPreviewGUI.php.
Referenced by initQuestion().
|
private |
Definition at line 62 of file class.ilAssQuestionPreviewGUI.php.
Referenced by getObject(), and getQuestion().
|
protected |
Definition at line 59 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest' |
Definition at line 52 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList' |
Definition at line 53 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
Definition at line 51 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse' |
Definition at line 50 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_RESET = 'reset' |
Definition at line 48 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_SHOW = 'show' |
Definition at line 47 of file class.ilAssQuestionPreviewGUI.php.
Referenced by assQuestionGUI\addBackTab(), ILIAS\Test\StaticURLHandler\buildQuestionURL(), ilObjTestGUI\executeCommand(), ilQuestionBrowserTableGUI\fillRow(), ilAssQuestionPageGUI\finishEditing(), ilAssQuestionPageCommandForwarder\forward(), ILIAS\Test\Questions\Presentation\QuestionsTableActions\handleCommand(), assQuestionGUI\saveReturn(), and ilObjTestGUI\showNextViewAfterQuestionSave().
| const ilAssQuestionPreviewGUI::CMD_STATISTICS = 'assessment' |
Definition at line 49 of file class.ilAssQuestionPreviewGUI.php.
Referenced by ilQuestionBrowserTableGUI\fillRow(), and ILIAS\Test\Questions\Presentation\QuestionsTableActions\handleCommand().
| const ilAssQuestionPreviewGUI::FEEDBACK_FOCUS_ANCHOR = 'focus' |
Definition at line 57 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::TAB_ID_QUESTION = 'question' |
Definition at line 55 of file class.ilAssQuestionPreviewGUI.php.