24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
58 $this->
setStyle(
'table',
'fullwidth');
64 $this->
addColumn($this->lng->txt(
"svy_file"),
'file',
'');
65 $this->
addColumn($this->lng->txt(
"svy_size"),
'size',
'');
66 $this->
addColumn($this->lng->txt(
"date"),
'date',
'');
68 $this->
setRowTemplate(
"tpl.il_svy_svy_export_row.html",
"Modules/Survey");
73 $this->
addCommandButton(
'cancelDeleteExportFile', $this->lng->txt(
'cancel'));
77 $this->
addMultiCommand(
'downloadExportFile', $this->lng->txt(
'download'));
78 $this->
addMultiCommand(
'confirmDeleteExportFile', $this->lng->txt(
'delete'));
80 $this->
addCommandButton(
'createExportFile', $this->lng->txt(
'svy_create_export_file'));
83 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
98 $this->
enable(
'select_all');
112 if (!$this->confirmdelete)
114 $this->tpl->setCurrentBlock(
'checkbox');
115 $this->tpl->setVariable(
'CB_ID', $this->counter++);
116 $this->tpl->setVariable(
"CB_FILE",
$data[
'file']);
117 $this->tpl->parseCurrentBlock();
121 $this->tpl->setCurrentBlock(
'hidden');
122 $this->tpl->setVariable(
'HIDDEN_FILE',
$data[
"file"]);
123 $this->tpl->parseCurrentBlock();
125 $this->tpl->setVariable(
"ID", $this->counter++);
126 $this->tpl->setVariable(
"FILE",
$data[
'file']);
127 $this->tpl->setVariable(
"SIZE",
$data[
'size']);
128 $this->tpl->setVariable(
"DATE",
$data[
'date']);