ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (ilCtrl $ctrl, ilTabsGUI $tabs, ilTemplate $tpl, ilLanguage $lng, ilDBInterface $db, ilObjUser $user) | |
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_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_PREVIEW = 'preview' |
const | FEEDBACK_FOCUS_ANCHOR = 'focus' |
Protected Member Functions | |
buildPreviewFormAction () | |
isCommentingRequired () | |
handleInstantResponseRendering (ilTemplate $tpl) | |
populateReachedPointsOutput (ilTemplate $tpl) | |
populateInstantResponseHeader (ilTemplate $tpl, $withFocusAnchor) | |
populateNotesPanel (ilTemplate $tpl, $notesPanelHTML) | |
Protected Attributes | |
$ctrl | |
$tabs | |
$tpl | |
$lng | |
$db | |
$user | |
$questionGUI | |
$questionOBJ | |
$previewSettings | |
$previewSession | |
$hintTracking | |
Private Member Functions | |
showCmd ($notesPanelHTML='') | |
resetCmd () | |
instantResponseCmd () | |
handleQuestionActionCmd () | |
populatePreviewToolbar (ilTemplate $tpl) | |
populateQuestionOutput (ilTemplate $tpl) | |
populateSolutionOutput (ilTemplate $tpl) | |
getQuestionNavigationHtml () | |
populateGenericQuestionFeedback (ilTemplate $tpl) | |
populateSpecificQuestionFeedback (ilTemplate $tpl) | |
isShowBestSolutionRequired () | |
isShowGenericQuestionFeedbackRequired () | |
isShowSpecificQuestionFeedbackRequired () | |
isShowReachedPointsRequired () | |
getQuestionAnswerShuffler () | |
Definition at line 18 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::__construct | ( | ilCtrl | $ctrl, |
ilTabsGUI | $tabs, | ||
ilTemplate | $tpl, | ||
ilLanguage | $lng, | ||
ilDBInterface | $db, | ||
ilObjUser | $user | ||
) |
|
protected |
Definition at line 202 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
ilAssQuestionPreviewGUI::executeCommand | ( | ) |
Definition at line 152 of file class.ilAssQuestionPreviewGUI.php.
References $DIC, ilNoteGUI\enablePublicNotes(), and showCmd().
ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd | ( | ) |
Definition at line 513 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, saveQuestionSolution(), and showCmd().
ilAssQuestionPreviewGUI::gatewayShowHintListCmd | ( | ) |
Definition at line 529 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, saveQuestionSolution(), and showCmd().
|
private |
Definition at line 548 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
|
private |
Definition at line 412 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
|
protected |
Definition at line 238 of file class.ilAssQuestionPreviewGUI.php.
References isShowBestSolutionRequired(), isShowGenericQuestionFeedbackRequired(), isShowReachedPointsRequired(), isShowSpecificQuestionFeedbackRequired(), populateGenericQuestionFeedback(), populateInstantResponseHeader(), populateReachedPointsOutput(), populateSolutionOutput(), and populateSpecificQuestionFeedback().
Referenced by showCmd().
|
private |
Definition at line 300 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initHintTracking | ( | ) |
Definition at line 133 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSession | ( | $userId, | |
$questionId | |||
) |
Definition at line 125 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSettings | ( | $parentRefId | ) |
Definition at line 117 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initQuestion | ( | $questionId, | |
$parentObjId | |||
) |
Definition at line 96 of file class.ilAssQuestionPreviewGUI.php.
References assQuestion\instantiateQuestionGUI(), OUTPUT_JAVASCRIPT, and assQuestionGUI\RENDER_PURPOSE_DEMOPLAY.
ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 139 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
|
private |
Definition at line 289 of file class.ilAssQuestionPreviewGUI.php.
References saveQuestionSolution().
|
protected |
Definition at line 207 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
|
private |
Definition at line 472 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 481 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 499 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 490 of file class.ilAssQuestionPreviewGUI.php.
Referenced by handleInstantResponseRendering(), and populateQuestionOutput().
|
private |
Definition at line 430 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 459 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
protected |
Definition at line 562 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 306 of file class.ilAssQuestionPreviewGUI.php.
References HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 319 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, getQuestionAnswerShuffler(), getQuestionNavigationHtml(), isShowSpecificQuestionFeedbackRequired(), ilPageObjectGUI\setRenderPageContainer(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
protected |
Definition at line 359 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 375 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, Sabre\VObject\$output, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), ilPageObjectGUI\setEditPreview(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 448 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by handleInstantResponseRendering().
|
private |
Definition at line 277 of file class.ilAssQuestionPreviewGUI.php.
References ilUtil\sendInfo().
ilAssQuestionPreviewGUI::saveQuestionSolution | ( | ) |
Definition at line 508 of file class.ilAssQuestionPreviewGUI.php.
Referenced by gatewayConfirmHintRequestCmd(), gatewayShowHintListCmd(), and instantResponseCmd().
|
private |
Definition at line 218 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, buildPreviewFormAction(), handleInstantResponseRendering(), isCommentingRequired(), populateNotesPanel(), populatePreviewToolbar(), and populateQuestionOutput().
Referenced by executeCommand(), gatewayConfirmHintRequestCmd(), and gatewayShowHintListCmd().
|
protected |
Definition at line 34 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 54 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 84 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 49 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 79 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 74 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 64 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 69 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 39 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct(), and showCmd().
|
protected |
Definition at line 59 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
const ilAssQuestionPreviewGUI::CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest' |
Definition at line 24 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList' |
Definition at line 25 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction' |
Definition at line 23 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse' |
Definition at line 22 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_RESET = 'reset' |
Definition at line 21 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::CMD_SHOW = 'show' |
Definition at line 20 of file class.ilAssQuestionPreviewGUI.php.
Referenced by assQuestionGUI\addTab_QuestionPreview(), and ilQuestionBrowserTableGUI\fillRow().
const ilAssQuestionPreviewGUI::FEEDBACK_FOCUS_ANCHOR = 'focus' |
Definition at line 29 of file class.ilAssQuestionPreviewGUI.php.
const ilAssQuestionPreviewGUI::TAB_ID_QUESTION_PREVIEW = 'preview' |
Definition at line 27 of file class.ilAssQuestionPreviewGUI.php.
Referenced by assQuestionGUI\addTab_QuestionPreview().