ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilCtrl $ctrl, ilTabsGUI $tabs, ilTemplate $tpl, ilLanguage $lng, ilDB $db) | |
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 | |
$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 () |
Definition at line 18 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::__construct | ( | ilCtrl | $ctrl, |
ilTabsGUI | $tabs, | ||
ilTemplate | $tpl, | ||
ilLanguage | $lng, | ||
ilDB | $db | ||
) |
ilAssQuestionPreviewGUI::executeCommand | ( | ) |
Definition at line 141 of file class.ilAssQuestionPreviewGUI.php.
References $cmd.
ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd | ( | ) |
Definition at line 385 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, and saveQuestionSolution().
ilAssQuestionPreviewGUI::gatewayShowHintListCmd | ( | ) |
Definition at line 396 of file class.ilAssQuestionPreviewGUI.php.
References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, and saveQuestionSolution().
|
private |
Definition at line 223 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initHintTracking | ( | ) |
Definition at line 122 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSession | ( | $userId, | |
$questionId | |||
) |
Definition at line 114 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initPreviewSettings | ( | $parentRefId | ) |
Definition at line 106 of file class.ilAssQuestionPreviewGUI.php.
ilAssQuestionPreviewGUI::initQuestion | ( | $questionId, | |
$parentObjId | |||
) |
Definition at line 88 of file class.ilAssQuestionPreviewGUI.php.
References assQuestion\instantiateQuestionGUI(), and OUTPUT_JAVASCRIPT.
ilAssQuestionPreviewGUI::initStyleSheets | ( | ) |
Definition at line 128 of file class.ilAssQuestionPreviewGUI.php.
References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().
|
private |
Definition at line 216 of file class.ilAssQuestionPreviewGUI.php.
|
private |
Definition at line 350 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
|
private |
Definition at line 360 of file class.ilAssQuestionPreviewGUI.php.
Referenced by showCmd().
|
private |
Definition at line 370 of file class.ilAssQuestionPreviewGUI.php.
Referenced by populateQuestionOutput(), and showCmd().
|
private |
Definition at line 327 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 229 of file class.ilAssQuestionPreviewGUI.php.
References HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 309 of file class.ilAssQuestionPreviewGUI.php.
References HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 242 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, isShowSpecificQuestionFeedbackRequired(), ilPageObjectGUI\setRenderPageContainer(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 275 of file class.ilAssQuestionPreviewGUI.php.
References $_POST, ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), ilPageObjectGUI\setEditPreview(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 343 of file class.ilAssQuestionPreviewGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by showCmd().
|
private |
Definition at line 205 of file class.ilAssQuestionPreviewGUI.php.
References ilUtil\sendInfo().
ilAssQuestionPreviewGUI::saveQuestionSolution | ( | ) |
Definition at line 380 of file class.ilAssQuestionPreviewGUI.php.
Referenced by gatewayConfirmHintRequestCmd(), and gatewayShowHintListCmd().
|
private |
Definition at line 175 of file class.ilAssQuestionPreviewGUI.php.
References $tpl, isShowBestSolutionRequired(), isShowGenericQuestionFeedbackRequired(), isShowSpecificQuestionFeedbackRequired(), populateGenericQuestionFeedback(), populatePreviewToolbar(), populateQuestionNavigation(), populateQuestionOutput(), populateSolutionOutput(), and populateSpecificQuestionFeedback().
|
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 77 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 47 of file class.ilAssQuestionPreviewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 72 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 67 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 57 of file class.ilAssQuestionPreviewGUI.php.
|
protected |
Definition at line 62 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().
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().