ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilTestDetailedEvaluationStatisticsTableGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once 'Services/Table/classes/class.ilTable2GUI.php';
5
10{
14 public function __construct($a_parent_obj, $a_parent_cmd = '', $a_template_context = '')
15 {
16 global $DIC;
17
18 $this->setId('ass_eval_det_' . $a_template_context);
19 parent::__construct($a_parent_obj, $a_parent_cmd, '');
20
21 $this->setFormAction($DIC->ctrl()->getFormAction($this->getParentObject(), $this->getParentCmd()));
22
23 $this->setRowTemplate('tpl.table_evaluation_detail_row.html', 'Modules/Test');
24 $this->setShowRowsSelector(false);
25 $this->disable('sort');
26 $this->disable('header');
27 $this->setLimit(PHP_INT_MAX);
28 }
29
33 public function fillRow($a_set)
34 {
35 $this->tpl->setVariable('VAL_COUNTER', $a_set['counter']);
36 $this->tpl->setVariable('VAL_QUESTION_ID_TXT', $a_set['id_txt']);
37 $this->tpl->setVariable('VAL_QUESTION_ID', $a_set['id']);
38 $this->tpl->setVariable('VAL_QUESTION_TITLE', $a_set['title']);
39 $this->tpl->setVariable('VAL_POINTS', $a_set['points']);
40 }
41}
An exception for terminatinating execution or to throw for unit testing.
Class ilTable2GUI.
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setLimit($a_limit=0, $a_default_limit=0)
set max.
setId($a_val)
Set id.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
fillRow($a_set)
Standard Version of Fill Row.Most likely to be overwritten by derived class.
__construct($a_parent_obj, $a_parent_cmd='', $a_template_context='')
ilTable2GUI constructor.
global $DIC
Definition: goto.php:24
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc