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(
'createPDFforEveryone', $this->lng->txt(
"ass_pdf_all"));
81 $this->
addCommandButton(
'createTestExport', $this->lng->txt(
'ass_create_export_file'));
82 $this->
addCommandButton(
'createTestResultsExport', $this->lng->txt(
'ass_create_export_test_results'));
85 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
100 $this->
enable(
'select_all');
114 if (!$this->confirmdelete)
116 $this->tpl->setCurrentBlock(
'checkbox');
117 $this->tpl->setVariable(
'CB_ID', $this->counter);
118 $this->tpl->setVariable(
"CB_FILE",
$data[
'file']);
119 $this->tpl->parseCurrentBlock();
123 $this->tpl->setCurrentBlock(
'hidden');
124 $this->tpl->setVariable(
'HIDDEN_FILE',
$data[
"file"]);
125 $this->tpl->parseCurrentBlock();
127 $this->tpl->setVariable(
"ID", $this->counter++);
128 $this->tpl->setVariable(
"FILE",
$data[
'file']);
129 $this->tpl->setVariable(
"SIZE",
$data[
'size']);
130 $this->tpl->setVariable(
"DATE",
$data[
'date']);