4 require_once
'Modules/TestQuestionPool/interfaces/interface.ilQuestionHeaderBlockBuilder.php';
70 $this->headerMode = null;
71 $this->questionTitle =
'';
72 $this->questionPoints = 0.0;
73 $this->questionPosition = 0;
74 $this->questionCount = 0;
75 $this->questionPostponed =
false;
76 $this->questionObligatory =
false;
77 $this->questionRelatedObjectives =
'';
237 return sprintf($this->lng->txt(
"tst_position_without_total"), $this->
getQuestionPosition());
244 return "{$this->getQuestionPoints()} {$this->lng->txt('point')}";
247 return "{$this->getQuestionPoints()} {$this->lng->txt('points')}";
253 return $this->lng->txt(
"postponed");
262 return $this->lng->txt(
"tst_you_have_to_answer_this_question");
271 $label = $this->lng->txt(
'tst_res_lo_objectives_header');
309 $tpl =
new ilTemplate(
'tpl.tst_question_info.html',
true,
true,
'Modules/Test');
329 $tpl->setVariable(
'TXT_POSITION_POINTS',
$text);
343 $tpl->setVariable(
'HIDDEN_NOT_ANSWERED',
'hidden');
345 $tpl->setVariable(
'HIDDEN_ANSWERED',
'hidden');
350 $tpl->setVariable(
'TXT_ANSWERED', $this->lng->txt(
'tst_answer_status_answered'));
351 $tpl->setVariable(
'TXT_NOT_ANSWERED', $this->lng->txt(
'tst_answer_status_not_answered'));
352 $tpl->setVariable(
'TXT_EDITING', $this->lng->txt(
'tst_answer_status_editing'));
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
special template class to simplify handling of ITX/PEAR