ILIAS  release_8 Revision v8.24
class.ilTestDetailedEvaluationStatisticsTableGUI.php
Go to the documentation of this file.
1<?php
2
23{
27 public function __construct($a_parent_obj, $a_parent_cmd = '', $a_template_context = '')
28 {
29 global $DIC;
30
31 $this->setId('ass_eval_det_' . $a_template_context);
32 parent::__construct($a_parent_obj, $a_parent_cmd, '');
33
34 $this->setFormAction($DIC->ctrl()->getFormAction($this->getParentObject(), $this->getParentCmd()));
35
36 $this->setRowTemplate('tpl.table_evaluation_detail_row.html', 'Modules/Test');
37 $this->setShowRowsSelector(false);
38 $this->disable('sort');
39 $this->disable('header');
40 $this->setLimit(PHP_INT_MAX);
41 }
42
43 public function fillRow(array $a_set): void
44 {
45 $this->tpl->setVariable('VAL_COUNTER', $a_set['counter']);
46 $this->tpl->setVariable('VAL_QUESTION_ID_TXT', $a_set['id_txt']);
47 $this->tpl->setVariable('VAL_QUESTION_ID', $a_set['id']);
48 $this->tpl->setVariable('VAL_QUESTION_TITLE', $a_set['title']);
49 $this->tpl->setVariable('VAL_POINTS', $a_set['points']);
50 }
51}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector.
setLimit(int $a_limit=0, int $a_default_limit=0)
set max.
setFormAction(string $a_form_action, bool $a_multipart=false)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setId(string $a_val)
disable(string $a_module_name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct($a_parent_obj, $a_parent_cmd='', $a_template_context='')
global $DIC
Definition: feed.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc