24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
 
   53                 $this->
setTitle($this->lng->txt(
'average_reached_points'));
 
   54                 $this->
setStyle(
'table', 
'fullwidth');
 
   55                 $this->
addColumn($this->lng->txt(
"question_title"),
'title', 
'');
 
   56                 $this->
addColumn($this->lng->txt(
"points"),
'points', 
'');
 
   57                 $this->
addColumn($this->lng->txt(
"percentage"),
'percentage', 
'');
 
   58                 $this->
addColumn($this->lng->txt(
"number_of_answers"),
'answers', 
'');
 
   60                 $this->
setRowTemplate(
"tpl.il_as_tst_average_reached_points_row.html", 
"Modules/Test");
 
   62                 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
 
   98                 global $ilUser,$ilAccess;
 
  100                 $this->tpl->setVariable(
"TITLE", 
$data[
"title"]);
 
  101                 $this->tpl->setVariable(
"POINTS", 
$data[
"points"]);
 
  102                 $this->tpl->setVariable(
"PERCENTAGE", sprintf(
"%.2f", 
$data[
"percentage"]) . 
"%");
 
  103                 $this->tpl->setVariable(
"ANSWERS", 
$data[
"answers"]);