|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilAssQuestionPreviewGUI:Public Member Functions | |
| __construct (ilCtrl $ctrl, ilRbacSystem $rbac_system, ilTabsGUI $tabs, ilGlobalTemplateInterface $tpl, ilLanguage $lng, ilDBInterface $db, ilObjUser $user, RandomGroup $randomGroup, int $parent_ref_id, RBACServices $rbac_services) | |
| 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) | |
| populateNotesPanel (ilTemplate $tpl, $notesPanelHTML) | |
Private Member Functions | |
| showCmd ($notesPanelHTML='') | |
| 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 () | |
Definition at line 38 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::__construct | ( | ilCtrl | $ctrl, |
| ilRbacSystem | $rbac_system, | ||
| ilTabsGUI | $tabs, | ||
| ilGlobalTemplateInterface | $tpl, | ||
| ilLanguage | $lng, | ||
| ilDBInterface | $db, | ||
| ilObjUser | $user, | ||
| RandomGroup | $randomGroup, | ||
| int | $parent_ref_id, | ||
| RBACServices | $rbac_services | ||
| ) |
Definition at line 70 of file class.ilAssQuestionPreviewGUI.php.
References $ctrl, $db, $lng, $parent_ref_id, $randomGroup, $rbac_services, $rbac_system, $tabs, $tpl, $user, ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 274 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 244 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::executeCommand | ( | ) |
Definition at line 206 of file class.ilAssQuestionPreviewGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), showCmd(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd | ( | ) |
Definition at line 595 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 609 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 171 of file class.ilAssQuestionPreviewGUI.php.
References $questionOBJ.
|
private |
Definition at line 626 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
Here is the caller graph for this function:
|
private |
Definition at line 474 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 280 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 363 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::initHintTracking | ( | ) |
Definition at line 190 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initPreviewSession | ( | $userId, | |
| $questionId | |||
| ) |
Definition at line 183 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initPreviewSettings | ( | $parentRefId | ) |
Definition at line 176 of file class.ilAssQuestionPreviewGUI.php.
| ilAssQuestionPreviewGUI::initQuestion | ( | $questionId, | |
| $parentObjId | |||
| ) |
Definition at line 97 of file class.ilAssQuestionPreviewGUI.php.
References $_GET, $ref_id, ilLink\_getLink(), ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), assQuestion\instantiateQuestionGUI(), ILIAS\Repository\int(), ILIAS\Repository\lng(), OUTPUT_JAVASCRIPT, assQuestionGUI\RENDER_PURPOSE_DEMOPLAY, and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 195 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
Here is the call graph for this function:
|
private |
Definition at line 352 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and saveQuestionSolution().
Here is the call graph for this function:
|
protected |
Definition at line 249 of file class.ilAssQuestionPreviewGUI.php.
References $_GET.
Referenced by showCmd().
Here is the caller graph for this function:
|
private |
Definition at line 554 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 563 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 581 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
Here is the caller graph for this function:
|
private |
Definition at line 572 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering(), and populateQuestionOutput().
Here is the caller graph for this function:
|
private |
Populate the block for an instant generic feedback.
Definition at line 495 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG, ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 534 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), ilTemplate\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 547 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 634 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 369 of file class.ilAssQuestionPreviewGUI.php.
References $_GET, $tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setVariable().
Referenced by showCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 395 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ILIAS\Repository\ctrl(), getQuestionAnswerShuffler(), getQuestionNavigationHtml(), isShowSpecificQuestionFeedbackRequired(), ilGlobalTemplateInterface\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 429 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 445 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilGlobalTemplateInterface\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 519 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by handleInstantResponseRendering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 340 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 590 of file class.ilAssQuestionPreviewGUI.php.
Referenced by gatewayConfirmHintRequestCmd(), gatewayShowHintListCmd(), and instantResponseCmd().
Here is the caller graph for this function:
|
private |
Definition at line 258 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, buildPreviewFormAction(), ilGlobalTemplateInterface\get(), handleInstantResponseRendering(), isCommentingRequired(), populateNotesPanel(), populatePreviewToolbar(), populateQuestionOutput(), and ilGlobalTemplateInterface\setVariable().
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 54 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 59 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 65 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 58 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 68 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 64 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 62 of file class.ilAssQuestionPreviewGUI.php.
Referenced by getObject().
|
private |
Definition at line 66 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 52 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 55 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 56 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
private |
Definition at line 57 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct(), populateGenericQuestionFeedback(), populateInstantResponseHeader(), populateInstantResponseMessage(), populateNotesPanel(), populatePreviewToolbar(), populateQuestionOutput(), populateReachedPointsOutput(), populateSolutionOutput(), populateSpecificQuestionFeedback(), and showCmd().
|
private |
Definition at line 60 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
| const ilAssQuestionPreviewGUI::CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest' |
Definition at line 45 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList' |
Definition at line 46 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
Definition at line 44 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse' |
Definition at line 43 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_RESET = 'reset' |
Definition at line 41 of file class.ilAssQuestionPreviewGUI.php.
| const ilAssQuestionPreviewGUI::CMD_SHOW = 'show' |
Definition at line 40 of file class.ilAssQuestionPreviewGUI.php.
Referenced by assQuestionGUI\addBackTab(), assQuestionGUI\cancelSync(), ilObjTestGUI\executeCommand(), ilQuestionBrowserTableGUI\fillRow(), ilAssQuestionPageGUI\finishEditing(), ilAssQuestionPageCommandForwarder\forward(), assQuestionGUI\saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), and assQuestionGUI\sync().
| const ilAssQuestionPreviewGUI::CMD_STATISTICS = 'assessment' |
Definition at line 42 of file class.ilAssQuestionPreviewGUI.php.
Referenced by ilTestQuestionsTableGUI\fillRow(), and ilQuestionBrowserTableGUI\fillRow().
| const ilAssQuestionPreviewGUI::FEEDBACK_FOCUS_ANCHOR = 'focus' |
Definition at line 50 of file class.ilAssQuestionPreviewGUI.php.
Referenced by buildPreviewFormAction().
| const ilAssQuestionPreviewGUI::TAB_ID_QUESTION = 'question' |
Definition at line 48 of file class.ilAssQuestionPreviewGUI.php.