95 $this->instantResponseEnabled = $instantFeedbackEnabled;
115 $navTpl =
new ilTemplate(
'tpl.qst_question_related_navigation.html',
true,
true,
'Modules/TestQuestionPool');
117 $parseQuestionRelatedNavigation =
false;
120 $navTpl->setCurrentBlock(
"direct_feedback");
122 $navTpl->setVariable(
"TEXT_SHOW_INSTANT_RESPONSE", $this->lng->txt(
"check"));
123 $navTpl->parseCurrentBlock();
125 $parseQuestionRelatedNavigation =
true;
129 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionHintTracking.php';
130 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionHintRequestGUI.php';
134 $buttonText = $this->lng->txt(
"button_request_next_question_hint");
136 $buttonText = $this->lng->txt(
"button_request_question_hint");
139 $navTpl->setCurrentBlock(
"button_request_next_question_hint");
140 $navTpl->setVariable(
"CMD_REQUEST_NEXT_QUESTION_HINT", $this->
getHintRequestCmd());
141 $navTpl->setVariable(
"TEXT_REQUEST_NEXT_QUESTION_HINT", $buttonText);
142 $navTpl->parseCurrentBlock();
144 $parseQuestionRelatedNavigation =
true;
148 $navTpl->setCurrentBlock(
"button_show_requested_question_hints");
149 $navTpl->setVariable(
"CMD_SHOW_REQUESTED_QUESTION_HINTS", $this->
getHintListCmd());
150 $navTpl->setVariable(
"TEXT_SHOW_REQUESTED_QUESTION_HINTS", $this->lng->txt(
"button_show_requested_question_hints"));
151 $navTpl->parseCurrentBlock();
153 $parseQuestionRelatedNavigation =
true;
157 if ($parseQuestionRelatedNavigation) {
158 $navTpl->setCurrentBlock(
"question_related_navigation");
159 $navTpl->parseCurrentBlock();
162 return $navTpl->get();
This class provides processing control methods.
special template class to simplify handling of ITX/PEAR