31 return $this->question->getTrueOptionLabelTranslation($this->
language, $this->question->getOptionLabel());
36 return $this->question->getFalseOptionLabelTranslation($this->
language, $this->question->getOptionLabel());
41 $this->
addColumn($this->
language->txt(
'tst_corr_answ_stat_tbl_header_answer'),
'');
45 foreach ($this->
getData() as $row) {
46 if (isset($row[
'addable'])) {
54 public function fillRow(array $a_set): void
56 $this->tpl->setCurrentBlock(
'answer');
58 $this->tpl->parseCurrentBlock();
60 $this->tpl->setCurrentBlock(
'frequency');
61 $this->tpl->setVariable(
'FREQUENCY', $a_set[
'frequency_true']);
62 $this->tpl->parseCurrentBlock();
64 $this->tpl->setCurrentBlock(
'frequency');
65 $this->tpl->setVariable(
'FREQUENCY', $a_set[
'frequency_false']);
66 $this->tpl->parseCurrentBlock();
setActionsColumnEnabled(bool $actionsColumnEnabled)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)