ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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' |
Protected Attributes | |
$ctrl | |
$tabs | |
$tpl | |
$lng | |
$db | |
$user | |
$questionGUI | |
$questionOBJ | |
$previewSettings | |
$previewSession | |
$hintTracking | |
Private Member Functions | |
showCmd () | |
resetCmd () | |
instantResponseCmd () | |
handleQuestionActionCmd () | |
populatePreviewToolbar (ilTemplate $tpl) | |
populateQuestionOutput (ilTemplate $tpl) | |
populateSolutionOutput (ilTemplate $tpl) | |
populateQuestionNavigation (ilTemplate $tpl) | |
populateGenericQuestionFeedback (ilTemplate $tpl) | |
populateSpecificQuestionFeedback (ilTemplate $tpl) | |
isShowBestSolutionRequired () | |
isShowGenericQuestionFeedbackRequired () | |
isShowSpecificQuestionFeedbackRequired () | |
getQuestionAnswerShuffler () | |
Definition at line 18 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::__construct | ( | ilCtrl | $ctrl, |
ilTabsGUI | $tabs, | ||
ilTemplate | $tpl, | ||
ilLanguage | $lng, | ||
ilDBInterface | $db, | ||
ilObjUser | $user | ||
) |
ilAssQuestionPreviewGUI::executeCommand | ( | ) |
Definition at line 150 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd | ( | ) |
Definition at line 417 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, saveQuestionSolution(), and showCmd().
ilAssQuestionPreviewGUI::gatewayShowHintListCmd | ( | ) |
Definition at line 433 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, saveQuestionSolution(), and showCmd().
|
private |
Definition at line 452 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput().
|
private |
Definition at line 244 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initHintTracking | ( | ) |
Definition at line 131 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSession | ( | $userId, | |
$questionId | |||
) |
Definition at line 123 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSettings | ( | $parentRefId | ) |
Definition at line 115 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initQuestion | ( | $questionId, | |
$parentObjId | |||
) |
Definition at line 94 of file class.ilAssQuestionPreviewGUI.php.
References assQuestion\instantiateQuestionGUI(), OUTPUT_JAVASCRIPT, and assQuestionGUI\RENDER_PURPOSE_DEMOPLAY.
ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 137 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
|
private |
Definition at line 230 of file class.ilAssQuestionPreviewGUI.php.
References saveQuestionSolution().
|
private |
Definition at line 382 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
|
private |
Definition at line 392 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
|
private |
Definition at line 402 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput(), and showCmd().
|
private |
Definition at line 353 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 showCmd().
|
private |
Definition at line 250 of file class.ilAssQuestionPreviewGUI.php.
References HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 335 of file class.ilAssQuestionPreviewGUI.php.
References HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 263 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, array, getQuestionAnswerShuffler(), isShowSpecificQuestionFeedbackRequired(), ilPageObjectGUI\setRenderPageContainer(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 298 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, array, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), ilPageObjectGUI\setEditPreview(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 375 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 218 of file class.ilAssQuestionPreviewGUI.php.
References ilUtil\sendInfo().
ilAssQuestionPreviewGUI::saveQuestionSolution | ( | ) |
Definition at line 412 of file class.ilAssQuestionPreviewGUI.php.
Referenced by gatewayConfirmHintRequestCmd(), gatewayShowHintListCmd(), and instantResponseCmd().
|
private |
Definition at line 188 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, isShowBestSolutionRequired(), isShowGenericQuestionFeedbackRequired(), isShowSpecificQuestionFeedbackRequired(), populateGenericQuestionFeedback(), populatePreviewToolbar(), populateQuestionNavigation(), populateQuestionOutput(), populateSolutionOutput(), and populateSpecificQuestionFeedback().
Referenced by gatewayConfirmHintRequestCmd(), and gatewayShowHintListCmd().
|
protected |
Definition at line 32 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 52 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 82 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 47 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 77 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 72 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 62 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 67 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 37 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 42 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct(), and showCmd().
|
protected |
Definition at line 57 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::TAB_ID_QUESTION_PREVIEW = 'preview' |
Definition at line 27 of file class.ilAssQuestionPreviewGUI.php.
Referenced by assQuestionGUI\addTab_QuestionPreview().