ILIAS
release_8 Revision v8.19
|
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 25 of file class.ilTestQuestionNavigationGUI.php.
ilTestQuestionNavigationGUI::__construct | ( | ilLanguage | $lng | ) |
ilLanguage | $lng |
Definition at line 123 of file class.ilTestQuestionNavigationGUI.php.
References $lng, and ILIAS\Repository\lng().
ilTestQuestionNavigationGUI::getActionsHTML | ( | ) |
Get the HTML of an actions menu below the title.
Definition at line 393 of file class.ilTestQuestionNavigationGUI.php.
References $tpl, getQuestionMarkActionLabel(), getQuestionMarkIconLabel(), getQuestionMarkIconSource(), getQuestionMarkLinkTarget(), getRevertChangesLinkTarget(), getSkipQuestionLinkTarget(), getTemplate(), isCharSelectorEnabled(), isDiscardSolutionButtonEnabled(), ILIAS\Repository\lng(), and renderActionsIcon().
|
private |
Definition at line 585 of file class.ilTestQuestionNavigationGUI.php.
References isAnswerFreezingEnabled().
Referenced by getHTML().
|
private |
Definition at line 565 of file class.ilTestQuestionNavigationGUI.php.
References isQuestionWorkedThrough().
Referenced by getHTML().
ilTestQuestionNavigationGUI::getEditSolutionCommand | ( | ) |
Definition at line 131 of file class.ilTestQuestionNavigationGUI.php.
References $editSolutionCommand.
Referenced by getHTML().
ilTestQuestionNavigationGUI::getHTML | ( | ) |
Definition at line 513 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 229 of file class.ilTestQuestionNavigationGUI.php.
References $instantFeedbackCommand.
Referenced by getHTML().
|
private |
Definition at line 604 of file class.ilTestQuestionNavigationGUI.php.
References isQuestionMarked(), and ILIAS\Repository\lng().
Referenced by getActionsHTML().
|
private |
Definition at line 614 of file class.ilTestQuestionNavigationGUI.php.
References isQuestionMarked(), and ILIAS\Repository\lng().
Referenced by getActionsHTML().
|
private |
Definition at line 624 of file class.ilTestQuestionNavigationGUI.php.
References ilUtil\getImagePath(), and isQuestionMarked().
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::getQuestionMarkLinkTarget | ( | ) |
Definition at line 326 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarkLinkTarget.
Referenced by getActionsHTML().
|
private |
Definition at line 594 of file class.ilTestQuestionNavigationGUI.php.
References hintRequestsExist().
Referenced by getHTML().
ilTestQuestionNavigationGUI::getRequestHintCommand | ( | ) |
Definition at line 277 of file class.ilTestQuestionNavigationGUI.php.
References $requestHintCommand.
Referenced by getHTML().
ilTestQuestionNavigationGUI::getRevertChangesLinkTarget | ( | ) |
Definition at line 180 of file class.ilTestQuestionNavigationGUI.php.
References $revertChangesLinkTarget.
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::getShowHintsCommand | ( | ) |
Definition at line 293 of file class.ilTestQuestionNavigationGUI.php.
References $showHintsCommand.
Referenced by getHTML().
ilTestQuestionNavigationGUI::getSkipQuestionLinkTarget | ( | ) |
Definition at line 213 of file class.ilTestQuestionNavigationGUI.php.
References $skipQuestionLinkTarget.
Referenced by getActionsHTML().
|
private |
Definition at line 574 of file class.ilTestQuestionNavigationGUI.php.
References isForceInstantResponseEnabled().
ilTestQuestionNavigationGUI::getSubmitSolutionCommand | ( | ) |
Definition at line 163 of file class.ilTestQuestionNavigationGUI.php.
References $submitSolutionCommand.
|
private |
Get the template.
string | $a_purpose | ('toolbar' | 'actions') |
Definition at line 639 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getActionsHTML(), and getHTML().
ilTestQuestionNavigationGUI::hintRequestsExist | ( | ) |
Definition at line 309 of file class.ilTestQuestionNavigationGUI.php.
References $hintRequestsExist.
Referenced by getRequestHintButtonLabel(), and setHintRequestsExist().
ilTestQuestionNavigationGUI::isAnswerFreezingEnabled | ( | ) |
Definition at line 245 of file class.ilTestQuestionNavigationGUI.php.
References $answerFreezingEnabled.
Referenced by getCheckButtonLabel().
ilTestQuestionNavigationGUI::isAnythingRendered | ( | ) |
Definition at line 359 of file class.ilTestQuestionNavigationGUI.php.
References $anythingRendered.
Referenced by getHTML().
ilTestQuestionNavigationGUI::isCharSelectorEnabled | ( | ) |
Definition at line 375 of file class.ilTestQuestionNavigationGUI.php.
References $charSelectorEnabled.
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::isDiscardSolutionButtonEnabled | ( | ) |
Definition at line 197 of file class.ilTestQuestionNavigationGUI.php.
References $discardSolutionButtonEnabled.
Referenced by getActionsHTML().
ilTestQuestionNavigationGUI::isForceInstantResponseEnabled | ( | ) |
Definition at line 253 of file class.ilTestQuestionNavigationGUI.php.
References $forceInstantResponseEnabled.
Referenced by getHTML(), and getSubmitSolutionButtonLabel().
ilTestQuestionNavigationGUI::isQuestionMarked | ( | ) |
Definition at line 343 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarked.
Referenced by getQuestionMarkActionLabel(), getQuestionMarkIconLabel(), and getQuestionMarkIconSource().
ilTestQuestionNavigationGUI::isQuestionWorkedThrough | ( | ) |
Definition at line 147 of file class.ilTestQuestionNavigationGUI.php.
References $questionWorkedThrough.
Referenced by getEditSolutionButtonLabel().
|
private |
ilTemplate | $tpl |
Definition at line 673 of file class.ilTestQuestionNavigationGUI.php.
References ilTemplate\parseCurrentBlock(), and ilTemplate\setCurrentBlock().
Referenced by renderButtonInstance(), and renderIcon().
|
private |
ilTemplate | $tpl |
Definition at line 664 of file class.ilTestQuestionNavigationGUI.php.
References ilTemplate\parseCurrentBlock(), and ilTemplate\setCurrentBlock().
Referenced by getHTML().
|
private |
Definition at line 762 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 683 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 748 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 731 of file class.ilTestQuestionNavigationGUI.php.
References ilLinkButton\getInstance(), and renderButtonInstance().
|
private |
ilTemplate | $tpl | |
$htmlId | ||
$label | ||
$cssClass |
Definition at line 716 of file class.ilTestQuestionNavigationGUI.php.
References ilLinkButton\getInstance(), and renderButtonInstance().
|
private |
ilTemplate | $tpl | |
$command | ||
$label | ||
bool | false | $primary |
Definition at line 699 of file class.ilTestQuestionNavigationGUI.php.
References ilSubmitButton\getInstance(), and renderButtonInstance().
Referenced by getHTML().
ilTestQuestionNavigationGUI::setAnswerFreezingEnabled | ( | $answerFreezingEnabled | ) |
boolean | $answerFreezingEnabled |
Definition at line 269 of file class.ilTestQuestionNavigationGUI.php.
References $answerFreezingEnabled.
ilTestQuestionNavigationGUI::setAnythingRendered | ( | ) |
boolean | $buttonRendered |
Definition at line 367 of file class.ilTestQuestionNavigationGUI.php.
Referenced by renderButtonInstance(), and renderIcon().
ilTestQuestionNavigationGUI::setCharSelectorEnabled | ( | $charSelectorEnabled | ) |
boolean | $charSelectorEnabled |
Definition at line 383 of file class.ilTestQuestionNavigationGUI.php.
References $charSelectorEnabled.
ilTestQuestionNavigationGUI::setDiscardSolutionButtonEnabled | ( | $discardSolutionButtonEnabled | ) |
bool | $discardSolutionButtonEnabled |
Definition at line 205 of file class.ilTestQuestionNavigationGUI.php.
References $discardSolutionButtonEnabled.
ilTestQuestionNavigationGUI::setEditSolutionCommand | ( | $editSolutionCommand | ) |
string | $editSolutionCommand |
Definition at line 139 of file class.ilTestQuestionNavigationGUI.php.
References $editSolutionCommand.
ilTestQuestionNavigationGUI::setForceInstantResponseEnabled | ( | $forceInstantResponseEnabled | ) |
boolean | $forceInstantResponseEnabled |
Definition at line 261 of file class.ilTestQuestionNavigationGUI.php.
References $forceInstantResponseEnabled.
ilTestQuestionNavigationGUI::setHintRequestsExist | ( | $hintRequestsExist | ) |
boolean | $hintRequestsExist |
Definition at line 317 of file class.ilTestQuestionNavigationGUI.php.
References $hintRequestsExist, and hintRequestsExist().
ilTestQuestionNavigationGUI::setInstantFeedbackCommand | ( | $instantFeedbackCommand | ) |
string | $instantFeedbackCommand |
Definition at line 237 of file class.ilTestQuestionNavigationGUI.php.
References $instantFeedbackCommand.
ilTestQuestionNavigationGUI::setQuestionMarked | ( | $questionMarked | ) |
boolean | $questionMarked |
Definition at line 351 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarked.
ilTestQuestionNavigationGUI::setQuestionMarkLinkTarget | ( | $questionMarkLinkTarget | ) |
string | $questionMarkLinkTarget |
Definition at line 334 of file class.ilTestQuestionNavigationGUI.php.
References $questionMarkLinkTarget.
ilTestQuestionNavigationGUI::setQuestionWorkedThrough | ( | $questionWorkedThrough | ) |
boolean | $questionWorkedThrough |
Definition at line 155 of file class.ilTestQuestionNavigationGUI.php.
References $questionWorkedThrough.
ilTestQuestionNavigationGUI::setRequestHintCommand | ( | $requestHintCommand | ) |
string | $requestHintCommand |
Definition at line 285 of file class.ilTestQuestionNavigationGUI.php.
References $requestHintCommand.
ilTestQuestionNavigationGUI::setRevertChangesLinkTarget | ( | $revertChangesLinkTarget | ) |
string |
Definition at line 188 of file class.ilTestQuestionNavigationGUI.php.
References $revertChangesLinkTarget.
ilTestQuestionNavigationGUI::setShowHintsCommand | ( | $showHintsCommand | ) |
string | $showHintsCommand |
Definition at line 301 of file class.ilTestQuestionNavigationGUI.php.
References $showHintsCommand.
ilTestQuestionNavigationGUI::setSkipQuestionLinkTarget | ( | $skipQuestionLinkTarget | ) |
string | $skipQuestionLinkTarget |
Definition at line 221 of file class.ilTestQuestionNavigationGUI.php.
References $skipQuestionLinkTarget.
ilTestQuestionNavigationGUI::setSubmitSolutionCommand | ( | $submitSolutionCommand | ) |
string | $submitSolutionCommand |
Definition at line 171 of file class.ilTestQuestionNavigationGUI.php.
References $submitSolutionCommand.
|
private |
Definition at line 76 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isAnswerFreezingEnabled(), and setAnswerFreezingEnabled().
|
private |
Definition at line 118 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isAnythingRendered().
|
private |
Definition at line 113 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isCharSelectorEnabled(), and setCharSelectorEnabled().
|
private |
Definition at line 61 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isDiscardSolutionButtonEnabled(), and setDiscardSolutionButtonEnabled().
|
private |
Definition at line 39 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getEditSolutionCommand(), and setEditSolutionCommand().
|
private |
Definition at line 81 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isForceInstantResponseEnabled(), and setForceInstantResponseEnabled().
|
private |
Definition at line 96 of file class.ilTestQuestionNavigationGUI.php.
Referenced by hintRequestsExist(), and setHintRequestsExist().
|
private |
Definition at line 71 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getInstantFeedbackCommand(), and setInstantFeedbackCommand().
|
protected |
Definition at line 34 of file class.ilTestQuestionNavigationGUI.php.
Referenced by __construct().
|
private |
Definition at line 108 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isQuestionMarked(), and setQuestionMarked().
|
private |
Definition at line 102 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getQuestionMarkLinkTarget(), and setQuestionMarkLinkTarget().
|
private |
Definition at line 44 of file class.ilTestQuestionNavigationGUI.php.
Referenced by isQuestionWorkedThrough(), and setQuestionWorkedThrough().
|
private |
Definition at line 86 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getRequestHintCommand(), and setRequestHintCommand().
|
private |
Definition at line 55 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getRevertChangesLinkTarget(), and setRevertChangesLinkTarget().
|
private |
Definition at line 91 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getShowHintsCommand(), and setShowHintsCommand().
|
private |
Definition at line 66 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getSkipQuestionLinkTarget(), and setSkipQuestionLinkTarget().
|
private |
Definition at line 49 of file class.ilTestQuestionNavigationGUI.php.
Referenced by getSubmitSolutionCommand(), and setSubmitSolutionCommand().
const ilTestQuestionNavigationGUI::CSS_CLASS_SUBMIT_BUTTONS = 'ilc_qsubmit_Submit' |
Definition at line 29 of file class.ilTestQuestionNavigationGUI.php.
const ilTestQuestionNavigationGUI::SHOW_DISABLED_COMMANDS = false |
Definition at line 27 of file class.ilTestQuestionNavigationGUI.php.