ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct (ilCtrl $ctrl, ilTabsGUI $tabs, ilGlobalTemplateInterface $tpl, ilLanguage $lng, ilDBInterface $db, ilObjUser $user, RBACServices $rbac_services) | |
initQuestion ($questionId, $parentObjId) | |
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) | |
Protected Attributes | |
$ctrl | |
$tabs | |
$tpl | |
$lng | |
$db | |
$user | |
$questionGUI | |
$questionOBJ | |
$previewSettings | |
$previewSession | |
$hintTracking | |
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 () | |
Private Attributes | |
$rbac_services | |
Definition at line 33 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::__construct | ( | ilCtrl | $ctrl, |
ilTabsGUI | $tabs, | ||
ilGlobalTemplateInterface | $tpl, | ||
ilLanguage | $lng, | ||
ilDBInterface | $db, | ||
ilObjUser | $user, | ||
RBACServices | $rbac_services | ||
) |
Definition at line 107 of file class.ilAssQuestionPreviewGUI.php.
References $ctrl, $db, $lng, $rbac_services, $tabs, $tpl, $user, ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), and user().
|
private |
Definition at line 331 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 299 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
ilAssQuestionPreviewGUI::executeCommand | ( | ) |
Definition at line 244 of file class.ilAssQuestionPreviewGUI.php.
References $DIC, ilNoteGUI\enablePublicNotes(), and showCmd().
ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd | ( | ) |
Definition at line 665 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, saveQuestionSolution(), and showCmd().
ilAssQuestionPreviewGUI::gatewayShowHintListCmd | ( | ) |
Definition at line 681 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, saveQuestionSolution(), and showCmd().
|
private |
Definition at line 700 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
|
private |
Definition at line 543 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
|
protected |
Definition at line 340 of file class.ilAssQuestionPreviewGUI.php.
References isShowBestSolutionRequired(), isShowGenericQuestionFeedbackRequired(), isShowReachedPointsRequired(), isShowSpecificQuestionFeedbackRequired(), populateGenericQuestionFeedback(), populateInstantResponseHeader(), populateInstantResponseMessage(), populateReachedPointsOutput(), populateSolutionOutput(), and populateSpecificQuestionFeedback().
Referenced by showCmd().
|
private |
Definition at line 423 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initHintTracking | ( | ) |
Definition at line 225 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSession | ( | $userId, | |
$questionId | |||
) |
Definition at line 217 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSettings | ( | $parentRefId | ) |
Definition at line 209 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initQuestion | ( | $questionId, | |
$parentObjId | |||
) |
Definition at line 128 of file class.ilAssQuestionPreviewGUI.php.
References $_GET, $GLOBALS, ilLink\_getLink(), CMD_SHOW, ilObjectFactory\getInstanceByRefId(), ilTestExpressPage\getReturnToPageLink(), assQuestion\instantiateQuestionGUI(), OUTPUT_JAVASCRIPT, assQuestionGUI\RENDER_PURPOSE_DEMOPLAY, and TAB_ID_QUESTION.
Referenced by ilObjQuestionPoolGUI\executeCommand(), and ilObjTestGUI\executeCommand().
ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 231 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
|
private |
Definition at line 412 of file class.ilAssQuestionPreviewGUI.php.
References saveQuestionSolution().
|
protected |
Definition at line 304 of file class.ilAssQuestionPreviewGUI.php.
References $_GET.
Referenced by showCmd().
|
private |
Definition at line 624 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 633 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 651 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 642 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering(), and populateQuestionOutput().
|
private |
Populate the block for an instant generic feedback.
Definition at line 565 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 604 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
protected |
Definition at line 617 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
protected |
Definition at line 714 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 429 of file class.ilAssQuestionPreviewGUI.php.
References $_GET, and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 454 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, getQuestionAnswerShuffler(), getQuestionNavigationHtml(), isShowSpecificQuestionFeedbackRequired(), ilPageObjectGUI\setRenderPageContainer(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
protected |
Definition at line 490 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 506 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, 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 589 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 400 of file class.ilAssQuestionPreviewGUI.php.
References ilUtil\sendInfo().
ilAssQuestionPreviewGUI::saveQuestionSolution | ( | ) |
Definition at line 660 of file class.ilAssQuestionPreviewGUI.php.
Referenced by gatewayConfirmHintRequestCmd(), gatewayShowHintListCmd(), and instantResponseCmd().
|
private |
Definition at line 312 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, buildPreviewFormAction(), handleInstantResponseRendering(), isCommentingRequired(), populateNotesPanel(), populatePreviewToolbar(), and populateQuestionOutput().
Referenced by executeCommand(), gatewayConfirmHintRequestCmd(), and gatewayShowHintListCmd().
|
protected |
Definition at line 55 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 75 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 105 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 70 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 100 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 95 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 85 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 90 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 50 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 60 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 65 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct(), and showCmd().
|
protected |
Definition at line 80 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
const ilAssQuestionPreviewGUI::CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest' |
Definition at line 40 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList' |
Definition at line 41 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
Definition at line 39 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse' |
Definition at line 38 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_RESET = 'reset' |
Definition at line 36 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_SHOW = 'show' |
Definition at line 35 of file class.ilAssQuestionPreviewGUI.php.
Referenced by assQuestionGUI\addBackTab(), assQuestionGUI\cancelSync(), ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilQuestionBrowserTableGUI\fillRow(), ilAssQuestionPageGUI\finishEditing(), ilAssQuestionPageCommandForwarder\forward(), initQuestion(), assQuestionGUI\saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), and assQuestionGUI\sync().
const ilAssQuestionPreviewGUI::CMD_STATISTICS = 'assessment' |
Definition at line 37 of file class.ilAssQuestionPreviewGUI.php.
Referenced by ilTestQuestionsTableGUI\fillRow(), and ilQuestionBrowserTableGUI\fillRow().
const ilAssQuestionPreviewGUI::FEEDBACK_FOCUS_ANCHOR = 'focus' |
Definition at line 45 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::TAB_ID_QUESTION = 'question' |
Definition at line 43 of file class.ilAssQuestionPreviewGUI.php.
Referenced by initQuestion().