324 $this->anythingRendered =
true;
406 'charselectorbutton',
'char_selector_btn_label',
'ilCharSelectorToggle'
422 return 'edit_answer';
425 return 'answer_question';
432 return 'submit_and_check';
435 return 'submit_answer';
442 return 'submit_and_check';
452 return 'button_request_next_question_hint';
455 return 'button_request_question_hint';
462 return $this->lng->txt(
'tst_remove_mark');
465 return $this->lng->txt(
'tst_question_mark');
484 'tpl.tst_question_navigation.html',
true,
true,
'Modules/Test'
493 $tpl->setCurrentBlock(
'question_related_navigation');
494 $tpl->parseCurrentBlock();
502 $tpl->setCurrentBlock(
'buttons');
503 $tpl->parseCurrentBlock();
512 $tpl->setCurrentBlock(
"button_instance");
513 $tpl->setVariable(
"BUTTON_INSTANCE", $button->render());
514 $tpl->parseCurrentBlock();
529 $button->setCommand($command);
530 $button->setCaption($label);
531 $button->setPrimary($primary);
532 $button->addCSSClass(self::CSS_CLASS_SUBMIT_BUTTONS);
546 $button->setUrl($href);
547 $button->setCaption($label);
561 $button->setId($htmlId);
562 $button->addCSSClass($cssClass);
563 $button->setCaption($label);
577 $tpl->setCurrentBlock(
"submit_icon");
578 $tpl->setVariable(
"SUBMIT_ICON_CMD", $command);
579 $tpl->setVariable(
"SUBMIT_ICON_SRC", $iconSrc);
580 $tpl->setVariable(
"SUBMIT_ICON_TEXT", $label);
581 $tpl->setVariable(
"SUBMIT_ICON_CLASS", $cssClass);
582 $tpl->parseCurrentBlock();
special template class to simplify handling of ITX/PEAR
isForceInstantResponseEnabled()
setInstantFeedbackCommand($instantFeedbackCommand)
getEditSolutionButtonLabel()
setQuestionWorkedThrough($questionWorkedThrough)
getInstantFeedbackCommand()
getRequestHintButtonLabel()
const CSS_CLASS_SUBMIT_BUTTONS
isDiscardSolutionButtonEnabled()
setQuestionMarkCommand($questionMarkCommand)
setEditSolutionCommand($editSolutionCommand)
setDiscardSolutionButtonEnabled($discardSolutionButtonEnabled)
renderButtonInstance(ilTemplate $tpl, $button)
renderJsLinkedButton(ilTemplate $tpl, $htmlId, $label, $cssClass)
getSubmitSolutionButtonLabel()
setHintRequestsExist($hintRequestsExist)
isAnswerFreezingEnabled()
$forceInstantResponseEnabled
setSubmitSolutionCommand($submitSolutionCommand)
setShowHintsCommand($showHintsCommand)
renderLinkButton(ilTemplate $tpl, $href, $label)
setRequestHintCommand($requestHintCommand)
renderIcon(ilTemplate $tpl, $command, $iconSrc, $label, $cssClass)
getQuestionMarkIconLabel()
setAnswerFreezingEnabled($answerFreezingEnabled)
setQuestionMarked($questionMarked)
setCharSelectorEnabled($charSelectorEnabled)
renderSubmitButton(ilTemplate $tpl, $command, $label, $primary=false)
getSubmitSolutionCommand()
setSkipQuestionLinkTarget($skipQuestionLinkTarget)
isQuestionWorkedThrough()
getSkipQuestionLinkTarget()
parseButtonsBlock(ilTemplate $tpl)
setForceInstantResponseEnabled($forceInstantResponseEnabled)
$discardSolutionButtonEnabled
getQuestionMarkIconSource()
parseNavigation(ilTemplate $tpl)
__construct(ilLanguage $lng)
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)