ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilTestDetailedEvaluationStatisticsTableGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
23  public function __construct(ilTestEvaluationGUI $parent_obj, string $parent_cmd = '', string $template_context = '')
24  {
25  $this->setId('ass_eval_det_' . $template_context);
26  parent::__construct($parent_obj, $parent_cmd, '');
27 
28  $this->setFormAction($this->ctrl->getFormAction($this->getParentObject(), $this->getParentCmd()));
29 
30  $this->setRowTemplate('tpl.table_evaluation_detail_row.html', 'Modules/Test');
31  $this->setShowRowsSelector(false);
32  $this->disable('sort');
33  $this->disable('header');
34  $this->setLimit(PHP_INT_MAX);
35  }
36 
37  public function fillRow(array $a_set): void
38  {
39  $this->tpl->setVariable('VAL_COUNTER', $a_set['counter']);
40  $this->tpl->setVariable('VAL_QUESTION_ID_TXT', $a_set['id_txt']);
41  $this->tpl->setVariable('VAL_QUESTION_ID', $a_set['id']);
42  $this->tpl->setVariable('VAL_QUESTION_TITLE', $a_set['title']);
43  $this->tpl->setVariable('VAL_POINTS', $a_set['points']);
44  }
45 }
setFormAction(string $a_form_action, bool $a_multipart=false)
setId(string $a_val)
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector.
__construct(VocabulariesInterface $vocabularies)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
Output class for assessment test evaluation.
__construct(ilTestEvaluationGUI $parent_obj, string $parent_cmd='', string $template_context='')
setLimit(int $a_limit=0, int $a_default_limit=0)
disable(string $a_module_name)