|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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) | |
| initStyleSheets () | |
| executeCommand () | |
| showCmd (string $commands_panel_html='') | |
| assessmentCmd () | |
| handleInstantResponseRendering (ilTemplate $tpl) | |
| resetCmd () | |
| instantResponseCmd () | |
| handleQuestionActionCmd () | |
| displayMediaFullscreenCmd () | |
| saveQuestionSolution () | |
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 | 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 |
| string | $info_message = null |
| array | $primary_cmd = [] |
| array | $additional_cmds = [] |
Definition at line 44 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 75 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 107 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::assessmentCmd | ( | ) |
Definition at line 250 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 214 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and FEEDBACK_FOCUS_ANCHOR.
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::displayMediaFullscreenCmd | ( | ) |
Definition at line 344 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 178 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::getObject | ( | ) |
Definition at line 117 of file class.ilAssQuestionPreviewGUI.php.
References $question_obj.
| ilAssQuestionPreviewGUI::getQuestion | ( | ) |
Definition at line 112 of file class.ilAssQuestionPreviewGUI.php.
References $question_obj.
|
private |
Definition at line 568 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
Here is the caller graph for this function:
|
private |
Definition at line 452 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 256 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 338 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::initPreviewSession | ( | int | $user_id, |
| int | $question_id | ||
| ) |
Definition at line 161 of file class.ilAssQuestionPreviewGUI.php.
References $user_id.
| ilAssQuestionPreviewGUI::initPreviewSettings | ( | int | $parent_ref_id | ) |
Definition at line 154 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initQuestion | ( | assQuestionGUI | $question_gui, |
| int | $parent_obj_id | ||
| ) |
Definition at line 122 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 167 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::instantResponseCmd | ( | ) |
Definition at line 327 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 219 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
Here is the caller graph for this function:
|
private |
Definition at line 524 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 533 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 551 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 542 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering(), and populateQuestionOutput().
Here is the caller graph for this function:
|
protected |
Definition at line 576 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 465 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 504 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 517 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 382 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), getQuestionAnswerShuffler(), getQuestionNavigationHtml(), isShowSpecificQuestionFeedbackRequired(), 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 413 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 429 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), 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 |
Populate the block for an instant specific feedback.
Definition at line 489 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 357 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), 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 316 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 560 of file class.ilAssQuestionPreviewGUI.php.
Referenced by instantResponseCmd().
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::setInfoMessage | ( | string | $message | ) |
Definition at line 97 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::setPrimaryCmd | ( | string | $label, |
| string | $cmd | ||
| ) |
Definition at line 102 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::showCmd | ( | string | $commands_panel_html = '' | ) |
Definition at line 225 of file class.ilAssQuestionPreviewGUI.php.
References buildPreviewFormAction(), assQuestionGUI\CMD_SYNC_QUESTION_AND_RETURN, handleInstantResponseRendering(), isCommentingRequired(), populateCommentsPanel(), populateQuestionOutput(), and populateToolbar().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 73 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 63 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 61 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 60 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 68 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 58 of file class.ilAssQuestionPreviewGUI.php.
Referenced by initQuestion().
|
private |
Definition at line 59 of file class.ilAssQuestionPreviewGUI.php.
Referenced by getObject(), and getQuestion().
|
protected |
Definition at line 56 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
Definition at line 50 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse' |
Definition at line 49 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_RESET = 'reset' |
Definition at line 47 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_SHOW = 'show' |
Definition at line 46 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 48 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 54 of file class.ilAssQuestionPreviewGUI.php.
Referenced by buildPreviewFormAction().
| const ilAssQuestionPreviewGUI::TAB_ID_QUESTION = 'question' |
Definition at line 52 of file class.ilAssQuestionPreviewGUI.php.