ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
4 require_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 }
global $DIC
Definition: saml.php:7
getParentCmd()
Get parent command.
getParentObject()
Get parent object.
setId($a_val)
Set id.
Class ilTable2GUI.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
__construct($a_parent_obj, $a_parent_cmd='', $a_template_context='')
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
setLimit($a_limit=0, $a_default_limit=0)