5 require_once
'Services/Table/classes/class.ilTable2GUI.php';
47 $this->
setId($tableId);
58 $this->
setStyle(
'table',
'fullwidth');
60 $this->
setRowTemplate(
"tpl.il_as_tst_dynamic_question_set_selection_row.html",
"Modules/Test");
62 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
74 $this->
setTitle($this->lng->txt($titleLangVar));
77 public function initColumns($totalQuestionsColumnHeaderLangVar)
79 $this->
addColumn($this->lng->txt($totalQuestionsColumnHeaderLangVar),
'num_total_questions',
'250');
81 $this->
addColumn($this->lng->txt(
"tst_num_correct_answered_questions"),
'num_correct_answered_questions',
'');
82 $this->
addColumn($this->lng->txt(
"tst_num_wrong_answered_questions"),
'num_wrong_answered_questions',
'');
83 $this->
addColumn($this->lng->txt(
"tst_num_non_answered_questions"),
'num_non_answered_questions',
'');
87 $this->
addColumn($this->lng->txt(
"tst_num_postponed_questions"),
'num_postponed_questions',
'');
92 $this->
addColumn($this->lng->txt(
"tst_num_marked_questions"),
'num_marked_questions',
'');
103 require_once
'Services/Taxonomy/classes/class.ilTaxSelectInputGUI.php';
105 foreach($this->taxIds as $taxId)
107 $postvar =
"tax_$taxId";
111 $inp->readFromSession();
112 $this->filter[$postvar] = $inp->getValue();
118 require_once
'Services/Form/classes/class.ilSelectInputGUI.php';
119 require_once
'Services/Form/classes/class.ilRadioOption.php';
121 $inp =
new ilSelectInputGUI($this->lng->txt(
'tst_question_answer_status'),
'question_answer_status');
128 $inp->readFromSession();
129 $this->filter[
'question_answer_status'] = $inp->getValue();
142 $this->tpl->setVariable(
'NUM_ALL_QUESTIONS',
$data[
'total_all']);
143 $this->tpl->setVariable(
'NUM_CORRECT_ANSWERED_QUESTIONS',
$data[
'correct_answered']);
144 $this->tpl->setVariable(
'NUM_WRONG_ANSWERED_QUESTIONS',
$data[
'wrong_answered']);
145 $this->tpl->setVariable(
'NUM_NON_ANSWERED_QUESTIONS',
$data[
'non_answered']);
149 $this->tpl->setCurrentBlock(
'num_postponed');
150 $this->tpl->setVariable(
"NUM_POSTPONED_QUESTIONS",
$data[
'postponed']);
151 $this->tpl->parseCurrentBlock();
156 $this->tpl->setCurrentBlock(
'num_marked');
157 $this->tpl->setVariable(
"NUM_MARKED_QUESTIONS",
$data[
'marked']);
158 $this->tpl->parseCurrentBlock();