24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
58 $this->
setStyle(
'table',
'fullwidth');
64 $this->
addColumn($this->lng->txt(
"ass_file"),
'file',
'');
65 $this->
addColumn($this->lng->txt(
"ass_size"),
'size',
'');
66 $this->
addColumn($this->lng->txt(
"date"),
'date',
'');
68 $this->
setRowTemplate(
"tpl.il_as_tst_export_row.html",
"Modules/Test");
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(
'createTestExport', $this->lng->txt(
'ass_create_export_file'));
81 $this->
addCommandButton(
'createTestResultsExport', $this->lng->txt(
'ass_create_export_test_results'));
84 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
99 $this->
enable(
'select_all');
110 if(in_array($column, array(
'size',
'date')))
127 if (!$this->confirmdelete)
129 $this->tpl->setCurrentBlock(
'checkbox');
130 $this->tpl->setVariable(
'CB_ID', $this->counter);
131 $this->tpl->setVariable(
"CB_FILE",
$data[
'file']);
132 $this->tpl->parseCurrentBlock();
136 $this->tpl->setCurrentBlock(
'hidden');
137 $this->tpl->setVariable(
'HIDDEN_FILE',
$data[
"file"]);
138 $this->tpl->parseCurrentBlock();
140 $this->tpl->setVariable(
"ID", $this->counter++);
141 $this->tpl->setVariable(
"FILE",
$data[
'file']);