|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ilAssQuestionPreviewGUI:Public Member Functions | |
| __construct (private ilCtrl $ctrl, private ilRbacSystem $rbac_system, private ilTabsGUI $tabs, private ilGlobalTemplateInterface $tpl, private ilLanguage $lng, private ilDBInterface $db, private ilObjUser $user, private RandomGroup $randomGroup, private GlobalScreen $global_screen, private HTTPServices $http, private Refinery $refinery) | |
| initQuestion ($questionId, $parentObjId) | |
| getObject () | |
| initPreviewSettings ($parentRefId) | |
| initPreviewSession ($userId, $questionId) | |
| initHintTracking () | |
| initStyleSheets () | |
| executeCommand () | |
| 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 () | |
| handleInstantResponseRendering (ilTemplate $tpl) | |
| populateReachedPointsOutput (ilTemplate $tpl) | |
| populateInstantResponseHeader (ilTemplate $tpl, $withFocusAnchor) | |
| populateInstantResponseMessage (ilTemplate $tpl, string $a_message) | |
| populateCommentsPanel (ilTemplate $tpl, string $comments_panel_html) | |
Private Member Functions | |
| showCmd (string $notes_panel_html='') | |
| assessmentCmd () | |
| resetCmd () | |
| instantResponseCmd () | |
| handleQuestionActionCmd () | |
| populatePreviewToolbar (ilTemplate $tpl) | |
| 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 | $questionGUI |
| assQuestion | $questionOBJ |
| ilAssQuestionPreviewSettings | $previewSettings = null |
| ilAssQuestionPreviewSession | $previewSession = null |
| ilAssQuestionPreviewHintTracking | $hintTracking = null |
Definition at line 40 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::__construct | ( | private ilCtrl | $ctrl, |
| private ilRbacSystem | $rbac_system, | ||
| private ilTabsGUI | $tabs, | ||
| private ilGlobalTemplateInterface | $tpl, | ||
| private ilLanguage | $lng, | ||
| private ilDBInterface | $db, | ||
| private ilObjUser | $user, | ||
| private RandomGroup | $randomGroup, | ||
| private GlobalScreen | $global_screen, | ||
| private HTTPServices | $http, | ||
| private Refinery | $refinery | ||
| ) |
Definition at line 60 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Here is the call graph for this function:
|
private |
Definition at line 275 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 241 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::executeCommand | ( | ) |
Definition at line 173 of file class.ilAssQuestionPreviewGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), 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 138 of file class.ilAssQuestionPreviewGUI.php.
References $questionOBJ.
|
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:
|
protected |
Definition at line 281 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:
|
private |
Definition at line 364 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::initHintTracking | ( | ) |
Definition at line 157 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initPreviewSession | ( | $userId, | |
| $questionId | |||
| ) |
Definition at line 150 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initPreviewSettings | ( | $parentRefId | ) |
Definition at line 143 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initQuestion | ( | $questionId, | |
| $parentObjId | |||
| ) |
Definition at line 77 of file class.ilAssQuestionPreviewGUI.php.
References $_GET, $ref_id, ILIAS\Repository\ctrl(), ilTestExpressPage\getReturnToPageLink(), assQuestion\instantiateQuestionGUI(), ILIAS\Repository\lng(), assQuestionGUI\RENDER_PURPOSE_DEMOPLAY, and ILIAS\Repository\tabs().
Referenced by ilObjTestGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 162 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Here is the call graph for this function:
|
private |
Definition at line 353 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 246 of file class.ilAssQuestionPreviewGUI.php.
References $ref_id, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by showCmd().
Here is the call graph for this function:
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 370 of file class.ilAssQuestionPreviewGUI.php.
References $_GET, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), 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 |
Definition at line 396 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 430 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 446 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 341 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:
|
private |
Definition at line 259 of file class.ilAssQuestionPreviewGUI.php.
References buildPreviewFormAction(), handleInstantResponseRendering(), isCommentingRequired(), populateCommentsPanel(), populatePreviewToolbar(), and populateQuestionOutput().
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 58 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 57 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 56 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 54 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 55 of file class.ilAssQuestionPreviewGUI.php.
Referenced by getObject().
| const ilAssQuestionPreviewGUI::CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest' |
Definition at line 47 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList' |
Definition at line 48 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
Definition at line 46 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse' |
Definition at line 45 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_RESET = 'reset' |
Definition at line 43 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_SHOW = 'show' |
Definition at line 42 of file class.ilAssQuestionPreviewGUI.php.
Referenced by assQuestionGUI\addBackTab(), assQuestionGUI\cancelSync(), ilObjTestGUI\executeCommand(), ilQuestionBrowserTableGUI\fillRow(), ilAssQuestionPageGUI\finishEditing(), ilAssQuestionPageCommandForwarder\forward(), ilObjQuestionPoolGUI\getQueryParamInt(), assQuestionGUI\saveReturn(), and assQuestionGUI\sync().
| const ilAssQuestionPreviewGUI::CMD_STATISTICS = 'assessment' |
Definition at line 44 of file class.ilAssQuestionPreviewGUI.php.
Referenced by ilTestQuestionsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), and ilObjQuestionPoolGUI\getQueryParamInt().
| const ilAssQuestionPreviewGUI::FEEDBACK_FOCUS_ANCHOR = 'focus' |
Definition at line 52 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::TAB_ID_QUESTION = 'question' |
Definition at line 50 of file class.ilAssQuestionPreviewGUI.php.