ILIAS
release_8 Revision v8.19
|
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().
|
private |
Definition at line 274 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\tabs().
|
protected |
Definition at line 244 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
Referenced by showCmd().
ilAssQuestionPreviewGUI::executeCommand | ( | ) |
Definition at line 206 of file class.ilAssQuestionPreviewGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ilNoteGUI\enablePublicNotes(), ILIAS\Repository\lng(), showCmd(), and ILIAS\Repository\tabs().
ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd | ( | ) |
Definition at line 595 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, ILIAS\Repository\ctrl(), saveQuestionSolution(), and showCmd().
ilAssQuestionPreviewGUI::gatewayShowHintListCmd | ( | ) |
Definition at line 609 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, ILIAS\Repository\ctrl(), saveQuestionSolution(), and showCmd().
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().
|
private |
Definition at line 474 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by populateQuestionOutput().
|
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().
|
private |
Definition at line 363 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl().
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().
Referenced by ilObjTestGUI\executeCommand(), and ilObjQuestionPoolGUI\getQueryParamInt().
ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 195 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
|
private |
Definition at line 352 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and saveQuestionSolution().
|
protected |
Definition at line 249 of file class.ilAssQuestionPreviewGUI.php.
References $_GET.
Referenced by showCmd().
|
private |
Definition at line 554 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 563 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 581 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 572 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering(), and populateQuestionOutput().
|
private |
Populate the block for an instant generic feedback.
Definition at line 495 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().
|
protected |
Definition at line 534 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
protected |
Definition at line 547 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
protected |
Definition at line 634 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 369 of file class.ilAssQuestionPreviewGUI.php.
References $_GET, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 395 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().
|
protected |
Definition at line 429 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 445 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().
|
private |
Populate the block for an instant specific feedback.
Definition at line 519 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 340 of file class.ilAssQuestionPreviewGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilAssQuestionPreviewGUI::saveQuestionSolution | ( | ) |
Definition at line 590 of file class.ilAssQuestionPreviewGUI.php.
Referenced by gatewayConfirmHintRequestCmd(), gatewayShowHintListCmd(), and instantResponseCmd().
|
private |
Definition at line 258 of file class.ilAssQuestionPreviewGUI.php.
References buildPreviewFormAction(), ilGlobalTemplateInterface\get(), handleInstantResponseRendering(), isCommentingRequired(), populateNotesPanel(), populatePreviewToolbar(), populateQuestionOutput(), and ilGlobalTemplateInterface\setVariable().
Referenced by executeCommand(), gatewayConfirmHintRequestCmd(), and gatewayShowHintListCmd().
|
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().
|
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(), ilObjQuestionPoolGUI\getQueryParamInt(), 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.
const ilAssQuestionPreviewGUI::TAB_ID_QUESTION = 'question' |
Definition at line 48 of file class.ilAssQuestionPreviewGUI.php.