|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
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 ContentStyle $content_style, 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 43 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 ContentStyle | $content_style, | ||
| private readonly int | $parent_obj_ref_id | ||
| ) |
Definition at line 74 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::addAdditionalCmd | ( | string | $label, |
| string | $cmd | ||
| ) |
Definition at line 104 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::assessmentCmd | ( | ) |
Definition at line 247 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 211 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 341 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 175 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 114 of file class.ilAssQuestionPreviewGUI.php.
References $question_obj.
| ilAssQuestionPreviewGUI::getQuestion | ( | ) |
Definition at line 109 of file class.ilAssQuestionPreviewGUI.php.
References $question_obj.
|
private |
Definition at line 572 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
Here is the caller graph for this function:
|
private |
Definition at line 456 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 253 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 335 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 158 of file class.ilAssQuestionPreviewGUI.php.
References $user_id.
| ilAssQuestionPreviewGUI::initPreviewSettings | ( | int | $parent_ref_id | ) |
Definition at line 151 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initQuestion | ( | assQuestionGUI | $question_gui, |
| int | $parent_obj_id | ||
| ) |
Definition at line 119 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 164 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::instantResponseCmd | ( | ) |
Definition at line 324 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 216 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
Here is the caller graph for this function:
|
private |
Definition at line 528 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 537 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
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 546 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering(), and populateQuestionOutput().
Here is the caller graph for this function:
|
protected |
Definition at line 580 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\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 469 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG, ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 508 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ilTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 521 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 379 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\Repository\ctrl(), getQuestionAnswerShuffler(), getQuestionNavigationHtml(), isShowSpecificQuestionFeedbackRequired(), ILIAS\UICore\GlobalTemplate\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 417 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 433 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ILIAS\UICore\GlobalTemplate\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 493 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 354 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 313 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 564 of file class.ilAssQuestionPreviewGUI.php.
Referenced by instantResponseCmd().
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::setInfoMessage | ( | string | $message | ) |
Definition at line 94 of file class.ilAssQuestionPreviewGUI.php.
References $message.
| ilAssQuestionPreviewGUI::setPrimaryCmd | ( | string | $label, |
| string | $cmd | ||
| ) |
Definition at line 99 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::showCmd | ( | string | $commands_panel_html = '' | ) |
Definition at line 222 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\News\Common\Table\$tpl, buildPreviewFormAction(), assQuestionGUI\CMD_SYNC_QUESTION_AND_RETURN, ILIAS\UICore\GlobalTemplate\get(), handleInstantResponseRendering(), isCommentingRequired(), populateCommentsPanel(), populateQuestionOutput(), populateToolbar(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 72 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 62 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 60 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 59 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 67 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 57 of file class.ilAssQuestionPreviewGUI.php.
Referenced by initQuestion().
|
private |
Definition at line 58 of file class.ilAssQuestionPreviewGUI.php.
Referenced by getObject(), and getQuestion().
|
protected |
Definition at line 55 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
Definition at line 49 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse' |
Definition at line 48 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_RESET = 'reset' |
Definition at line 46 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_SHOW = 'show' |
Definition at line 45 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 47 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 53 of file class.ilAssQuestionPreviewGUI.php.
Referenced by buildPreviewFormAction().
| const ilAssQuestionPreviewGUI::TAB_ID_QUESTION = 'question' |
Definition at line 51 of file class.ilAssQuestionPreviewGUI.php.