24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
 
   47                 $this->
setId(
"svy_usr");
 
   58                 $this->
setStyle(
'table', 
'fullwidth');
 
   60                 $this->
addColumn($this->lng->txt(
"username"),
'username', 
'');
 
   63                         $this->
addColumn($this->lng->txt(
"gender"),
'gender', 
'');
 
   65                 $this->
addColumn($this->lng->txt(
"question"),
'question', 
'');
 
   66                 $this->
addColumn($this->lng->txt(
"results"),
'results', 
'');
 
   67                 $this->
addColumn($this->lng->txt(
"workingtime"),
'workingtime', 
'');
 
   69                 $this->
setRowTemplate(
"tpl.il_svy_svy_results_user_row.html", 
"Modules/Survey");
 
   71                 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
 
   80                 if (is_null($timeinseconds))
 
   84                 else if ($timeinseconds == 0)
 
   86                         return $this->lng->txt(
'not_available');
 
   90                         return sprintf(
"%02d:%02d:%02d", ($timeinseconds / 3600), ($timeinseconds / 60) % 60, $timeinseconds % 60);
 
  103                 if (!$this->is_anonymized)
 
  105                         $this->tpl->setCurrentBlock(
'gender');
 
  106                         $this->tpl->setVariable(
"GENDER", 
$data[
'gender']);
 
  107                         $this->tpl->parseCurrentBlock();
 
  109                 $this->tpl->setVariable(
"USERNAME", 
$data[
'username']);
 
  110                 $this->tpl->setVariable(
"QUESTION", 
$data[
'question']);
 
  111                 $this->tpl->setVariable(
"RESULTS", 
$data[
'results']);
 
  112                 $this->tpl->setVariable(
"WORKINGTIME", $this->
formatTime(
$data[
'workingtime']));