ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Data Fields | |
const | SHOW_DISABLED_COMMANDS = false |
const | CSS_CLASS_SUBMIT_BUTTONS = 'ilc_qsubmit_Submit' |
Protected Attributes | |
$lng | |
Private Member Functions | |
getEditSolutionButtonLabel () | |
getSubmitSolutionButtonLabel () | |
getCheckButtonLabel () | |
getRequestHintButtonLabel () | |
getQuestionMarkActionLabel () | |
getQuestionMarkIconLabel () | |
getQuestionMarkIconSource () | |
getTemplate ($a_purpose='toolbar') | |
Get the template. More... | |
parseNavigation (ilTemplate $tpl) | |
parseButtonsBlock (ilTemplate $tpl) | |
renderButtonInstance (ilTemplate $tpl, $button) | |
renderSubmitButton (ilTemplate $tpl, $command, $label, $primary=false) | |
renderLinkButton (ilTemplate $tpl, $href, $label) | |
renderJsLinkedButton (ilTemplate $tpl, $htmlId, $label, $cssClass) | |
renderIcon (ilTemplate $tpl, $command, $iconSrc, $label, $cssClass) | |
renderActionsIcon (ilTemplate $tpl, $iconSrc, $label, $cssClass) | |
Private Attributes | |
$editSolutionCommand = '' | |
$questionWorkedThrough = false | |
$submitSolutionCommand = '' | |
$revertChangesLinkTarget = '' | |
$discardSolutionButtonEnabled = false | |
$skipQuestionLinkTarget = '' | |
$instantFeedbackCommand = '' | |
$answerFreezingEnabled = false | |
$forceInstantResponseEnabled = false | |
$requestHintCommand = '' | |
$showHintsCommand = '' | |
$hintRequestsExist = false | |
$questionMarkLinkTarget = '' | |
$questionMarked = false | |
$charSelectorEnabled = false | |
$anythingRendered = false | |
Definition at line 11 of file class.ilTestQuestionNavigationGUI.php.
ilTestQuestionNavigationGUI::__construct | ( | ilLanguage | $lng | ) |
ilLanguage | $lng |
Definition at line 109 of file class.ilTestQuestionNavigationGUI.php.
References $lng.
ilTestQuestionNavigationGUI::getActionsHTML | ( | ) |
Get the HTML of an actions menu below the title.
Definition at line 379 of file class.ilTestQuestionNavigationGUI.php.
References $list, $tpl, getQuestionMarkActionLabel(), getQuestionMarkIconLabel(), getQuestionMarkIconSource(), getQuestionMarkLinkTarget(), getRevertChangesLinkTarget(), getSkipQuestionLinkTarget(), getTemplate(), isCharSelectorEnabled(), isDiscardSolutionButtonEnabled(), and renderActionsIcon().
|
private |
Definition at line 571 of file class.ilTestQuestionNavigationGUI.php.
References isAnswerFreezingEnabled().
Referenced by getHTML().
|
private |
Definition at line 551 of file class.ilTestQuestionNavigationGUI.php.
References isQuestionWorkedThrough().
Referenced by getHTML().
ilTestQuestionNavigationGUI::getEditSolutionCommand | ( | ) |
Definition at line 117 of file class.ilTestQuestionNavigationGUI.php.
References $editSolutionCommand.
Referenced by getHTML().
ilTestQuestionNavigationGUI::getHTML | ( | ) |
Definition at line 499 of file class.ilTestQuestionNavigationGUI.php.
References $tpl, getCheckButtonLabel(), getEditSolutionButtonLabel(), getEditSolutionCommand(), getInstantFeedbackCommand(), getRequestHintButtonLabel(), getRequestHintCommand(), getShowHintsCommand(), getTemplate(), isAnythingRendered(), isForceInstantResponseEnabled(), parseNavigation(), and renderSubmitButton().
ilTestQuestionNavigationGUI::getInstantFeedbackCommand | ( | ) |
Definition at line 215 of file class.ilTestQuestionNavigationGUI.php.
References $instantFeedbackCommand.
Referenced by getHTML().
|
private |
Definition at line 590 of file class.ilTestQuestionNavigationGUI.php.
References isQuestionMarked().
Referenced by getActionsHTML().
|
private |
Definition at line 600 of file class.ilTestQuestionNavigationGUI.php.
References isQuestionMarked().
Referenced by getActionsHTML().
|
private |
Definition at line 610 of file class.ilTestQuestionNavigationGUI.php.
References ilUtil\getImagePath(), and isQuestionMarked().
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::getQuestionMarkLinkTarget | ( | ) |
Definition at line 312 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarkLinkTarget.
Referenced by getActionsHTML().
|
private |
Definition at line 580 of file class.ilTestQuestionNavigationGUI.php.
References hintRequestsExist().
Referenced by getHTML().
ilTestQuestionNavigationGUI::getRequestHintCommand | ( | ) |
Definition at line 263 of file class.ilTestQuestionNavigationGUI.php.
References $requestHintCommand.
Referenced by getHTML().
ilTestQuestionNavigationGUI::getRevertChangesLinkTarget | ( | ) |
Definition at line 166 of file class.ilTestQuestionNavigationGUI.php.
References $revertChangesLinkTarget.
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::getShowHintsCommand | ( | ) |
Definition at line 279 of file class.ilTestQuestionNavigationGUI.php.
References $showHintsCommand.
Referenced by getHTML().
ilTestQuestionNavigationGUI::getSkipQuestionLinkTarget | ( | ) |
Definition at line 199 of file class.ilTestQuestionNavigationGUI.php.
References $skipQuestionLinkTarget.
Referenced by getActionsHTML().
|
private |
Definition at line 560 of file class.ilTestQuestionNavigationGUI.php.
References isForceInstantResponseEnabled().
ilTestQuestionNavigationGUI::getSubmitSolutionCommand | ( | ) |
Definition at line 149 of file class.ilTestQuestionNavigationGUI.php.
References $submitSolutionCommand.
|
private |
Get the template.
string | $a_purpose | ('toolbar' | 'actions') |
Definition at line 625 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getActionsHTML(), and getHTML().
ilTestQuestionNavigationGUI::hintRequestsExist | ( | ) |
Definition at line 295 of file class.ilTestQuestionNavigationGUI.php.
References $hintRequestsExist.
Referenced by getRequestHintButtonLabel(), and setHintRequestsExist().
ilTestQuestionNavigationGUI::isAnswerFreezingEnabled | ( | ) |
Definition at line 231 of file class.ilTestQuestionNavigationGUI.php.
References $answerFreezingEnabled.
Referenced by getCheckButtonLabel().
ilTestQuestionNavigationGUI::isAnythingRendered | ( | ) |
Definition at line 345 of file class.ilTestQuestionNavigationGUI.php.
References $anythingRendered.
Referenced by getHTML().
ilTestQuestionNavigationGUI::isCharSelectorEnabled | ( | ) |
Definition at line 361 of file class.ilTestQuestionNavigationGUI.php.
References $charSelectorEnabled.
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::isDiscardSolutionButtonEnabled | ( | ) |
Definition at line 183 of file class.ilTestQuestionNavigationGUI.php.
References $discardSolutionButtonEnabled.
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::isForceInstantResponseEnabled | ( | ) |
Definition at line 239 of file class.ilTestQuestionNavigationGUI.php.
References $forceInstantResponseEnabled.
Referenced by getHTML(), and getSubmitSolutionButtonLabel().
ilTestQuestionNavigationGUI::isQuestionMarked | ( | ) |
Definition at line 329 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarked.
Referenced by getQuestionMarkActionLabel(), getQuestionMarkIconLabel(), and getQuestionMarkIconSource().
ilTestQuestionNavigationGUI::isQuestionWorkedThrough | ( | ) |
Definition at line 133 of file class.ilTestQuestionNavigationGUI.php.
References $questionWorkedThrough.
Referenced by getEditSolutionButtonLabel().
|
private |
ilTemplate | $tpl |
Definition at line 659 of file class.ilTestQuestionNavigationGUI.php.
References ilTemplate\parseCurrentBlock(), and ilTemplate\setCurrentBlock().
Referenced by renderButtonInstance(), and renderIcon().
|
private |
ilTemplate | $tpl |
Definition at line 650 of file class.ilTestQuestionNavigationGUI.php.
References ilTemplate\parseCurrentBlock(), and ilTemplate\setCurrentBlock().
Referenced by getHTML().
|
private |
Definition at line 748 of file class.ilTestQuestionNavigationGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by getActionsHTML().
|
private |
ilTemplate | $tpl | |
$button |
Definition at line 669 of file class.ilTestQuestionNavigationGUI.php.
References parseButtonsBlock(), ilTemplate\parseCurrentBlock(), setAnythingRendered(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by renderJsLinkedButton(), renderLinkButton(), and renderSubmitButton().
|
private |
ilTemplate | $tpl | |
$command | ||
$iconSrc | ||
$label | ||
$cssClass |
Definition at line 734 of file class.ilTestQuestionNavigationGUI.php.
References parseButtonsBlock(), ilTemplate\parseCurrentBlock(), setAnythingRendered(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
|
private |
ilTemplate | $tpl | |
$htmlId | ||
$label | ||
$cssClass |
Definition at line 717 of file class.ilTestQuestionNavigationGUI.php.
References ilLinkButton\getInstance(), and renderButtonInstance().
|
private |
ilTemplate | $tpl | |
$htmlId | ||
$label | ||
$cssClass |
Definition at line 702 of file class.ilTestQuestionNavigationGUI.php.
References ilLinkButton\getInstance(), and renderButtonInstance().
|
private |
ilTemplate | $tpl | |
$command | ||
$label | ||
bool | false | $primary |
Definition at line 685 of file class.ilTestQuestionNavigationGUI.php.
References ilSubmitButton\getInstance(), and renderButtonInstance().
Referenced by getHTML().
ilTestQuestionNavigationGUI::setAnswerFreezingEnabled | ( | $answerFreezingEnabled | ) |
boolean | $answerFreezingEnabled |
Definition at line 255 of file class.ilTestQuestionNavigationGUI.php.
References $answerFreezingEnabled.
ilTestQuestionNavigationGUI::setAnythingRendered | ( | ) |
boolean | $buttonRendered |
Definition at line 353 of file class.ilTestQuestionNavigationGUI.php.
Referenced by renderButtonInstance(), and renderIcon().
ilTestQuestionNavigationGUI::setCharSelectorEnabled | ( | $charSelectorEnabled | ) |
boolean | $charSelectorEnabled |
Definition at line 369 of file class.ilTestQuestionNavigationGUI.php.
References $charSelectorEnabled.
ilTestQuestionNavigationGUI::setDiscardSolutionButtonEnabled | ( | $discardSolutionButtonEnabled | ) |
bool | $discardSolutionButtonEnabled |
Definition at line 191 of file class.ilTestQuestionNavigationGUI.php.
References $discardSolutionButtonEnabled.
ilTestQuestionNavigationGUI::setEditSolutionCommand | ( | $editSolutionCommand | ) |
string | $editSolutionCommand |
Definition at line 125 of file class.ilTestQuestionNavigationGUI.php.
References $editSolutionCommand.
ilTestQuestionNavigationGUI::setForceInstantResponseEnabled | ( | $forceInstantResponseEnabled | ) |
boolean | $forceInstantResponseEnabled |
Definition at line 247 of file class.ilTestQuestionNavigationGUI.php.
References $forceInstantResponseEnabled.
ilTestQuestionNavigationGUI::setHintRequestsExist | ( | $hintRequestsExist | ) |
boolean | $hintRequestsExist |
Definition at line 303 of file class.ilTestQuestionNavigationGUI.php.
References $hintRequestsExist, and hintRequestsExist().
ilTestQuestionNavigationGUI::setInstantFeedbackCommand | ( | $instantFeedbackCommand | ) |
string | $instantFeedbackCommand |
Definition at line 223 of file class.ilTestQuestionNavigationGUI.php.
References $instantFeedbackCommand.
ilTestQuestionNavigationGUI::setQuestionMarked | ( | $questionMarked | ) |
boolean | $questionMarked |
Definition at line 337 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarked.
ilTestQuestionNavigationGUI::setQuestionMarkLinkTarget | ( | $questionMarkLinkTarget | ) |
string | $questionMarkLinkTarget |
Definition at line 320 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarkLinkTarget.
ilTestQuestionNavigationGUI::setQuestionWorkedThrough | ( | $questionWorkedThrough | ) |
boolean | $questionWorkedThrough |
Definition at line 141 of file class.ilTestQuestionNavigationGUI.php.
References $questionWorkedThrough.
ilTestQuestionNavigationGUI::setRequestHintCommand | ( | $requestHintCommand | ) |
string | $requestHintCommand |
Definition at line 271 of file class.ilTestQuestionNavigationGUI.php.
References $requestHintCommand.
ilTestQuestionNavigationGUI::setRevertChangesLinkTarget | ( | $revertChangesLinkTarget | ) |
string |
Definition at line 174 of file class.ilTestQuestionNavigationGUI.php.
References $revertChangesLinkTarget.
ilTestQuestionNavigationGUI::setShowHintsCommand | ( | $showHintsCommand | ) |
string | $showHintsCommand |
Definition at line 287 of file class.ilTestQuestionNavigationGUI.php.
References $showHintsCommand.
ilTestQuestionNavigationGUI::setSkipQuestionLinkTarget | ( | $skipQuestionLinkTarget | ) |
string | $skipQuestionLinkTarget |
Definition at line 207 of file class.ilTestQuestionNavigationGUI.php.
References $skipQuestionLinkTarget.
ilTestQuestionNavigationGUI::setSubmitSolutionCommand | ( | $submitSolutionCommand | ) |
string | $submitSolutionCommand |
Definition at line 157 of file class.ilTestQuestionNavigationGUI.php.
References $submitSolutionCommand.
|
private |
Definition at line 62 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isAnswerFreezingEnabled(), and setAnswerFreezingEnabled().
|
private |
Definition at line 104 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isAnythingRendered().
|
private |
Definition at line 99 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isCharSelectorEnabled(), and setCharSelectorEnabled().
|
private |
Definition at line 47 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isDiscardSolutionButtonEnabled(), and setDiscardSolutionButtonEnabled().
|
private |
Definition at line 25 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getEditSolutionCommand(), and setEditSolutionCommand().
|
private |
Definition at line 67 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isForceInstantResponseEnabled(), and setForceInstantResponseEnabled().
|
private |
Definition at line 82 of file class.ilTestQuestionNavigationGUI.php.
Referenced by hintRequestsExist(), and setHintRequestsExist().
|
private |
Definition at line 57 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getInstantFeedbackCommand(), and setInstantFeedbackCommand().
|
protected |
Definition at line 20 of file class.ilTestQuestionNavigationGUI.php.
Referenced by __construct().
|
private |
Definition at line 94 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isQuestionMarked(), and setQuestionMarked().
|
private |
Definition at line 88 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getQuestionMarkLinkTarget(), and setQuestionMarkLinkTarget().
|
private |
Definition at line 30 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isQuestionWorkedThrough(), and setQuestionWorkedThrough().
|
private |
Definition at line 72 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getRequestHintCommand(), and setRequestHintCommand().
|
private |
Definition at line 41 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getRevertChangesLinkTarget(), and setRevertChangesLinkTarget().
|
private |
Definition at line 77 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getShowHintsCommand(), and setShowHintsCommand().
|
private |
Definition at line 52 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getSkipQuestionLinkTarget(), and setSkipQuestionLinkTarget().
|
private |
Definition at line 35 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getSubmitSolutionCommand(), and setSubmitSolutionCommand().
const ilTestQuestionNavigationGUI::CSS_CLASS_SUBMIT_BUTTONS = 'ilc_qsubmit_Submit' |
Definition at line 15 of file class.ilTestQuestionNavigationGUI.php.
const ilTestQuestionNavigationGUI::SHOW_DISABLED_COMMANDS = false |
Definition at line 13 of file class.ilTestQuestionNavigationGUI.php.