24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
43 public function __construct($a_parent_obj, $a_parent_cmd, $detail)
54 $this->
setStyle(
'table',
'fullwidth');
56 $this->
addColumn($this->lng->txt(
"title"),
'title',
'');
57 $this->
addColumn($this->lng->txt(
"question"),
'question',
'');
58 $this->
addColumn($this->lng->txt(
"question_type"),
'question_type',
'');
59 $this->
addColumn($this->lng->txt(
"users_answered"),
'users_answered',
'');
60 $this->
addColumn($this->lng->txt(
"users_skipped"),
'users_skipped',
'');
61 $this->
addColumn($this->lng->txt(
"mode"),
'mode',
'');
62 $this->
addColumn($this->lng->txt(
"mode_nr_of_selections"),
'mode_nr_of_selections',
'');
63 $this->
addColumn($this->lng->txt(
"median"),
'median',
'');
64 $this->
addColumn($this->lng->txt(
"arithmetic_mean"),
'arithmetic_mean',
'');
66 $this->
setRowTemplate(
"tpl.il_svy_svy_results_cumulated_row.html",
"Modules/Survey");
69 "excel" => $lng->txt(
'exp_type_excel'),
70 "csv" => $lng->txt(
'exp_type_csv')
80 $this->
addCommandButton(
'printEvaluation', $this->lng->txt(
'print'),
'javascript:window.print();');
82 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
98 if (strlen(
$data[
'counter']))
100 $this->tpl->setCurrentBlock(
'counter');
101 $this->tpl->setVariable(
"COUNTER",
$data[
'counter']);
102 $this->tpl->parseCurrentBlock();
104 $this->tpl->setVariable(
"TITLE",
$data[
'title']);
105 $this->tpl->setVariable(
"QUESTION",
$data[
'question']);
106 $this->tpl->setVariable(
"QUESTION_TYPE",
$data[
'question_type']);
107 $this->tpl->setVariable(
"USERS_ANSWERED",
$data[
'users_answered']);
108 $this->tpl->setVariable(
"USERS_SKIPPED",
$data[
'users_skipped']);
109 $this->tpl->setVariable(
"MODE",
$data[
'mode']);
110 $this->tpl->setVariable(
"MODE_NR_OF_SELECTIONS",
$data[
'mode_nr_of_selections']);
111 $this->tpl->setVariable(
"MEDIAN",
$data[
'median']);
112 $this->tpl->setVariable(
"ARITHMETIC_MEAN",
$data[
'arithmetic_mean']);