24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
48 parent::__construct($a_parent_obj, $a_parent_cmd);
58 $this->
setTitle($this->lng->txt(
'svy_export_files'));
59 $this->
setStyle(
'table',
'fullwidth');
64 $this->
addColumn($this->lng->txt(
"file"),
'file',
'');
65 $this->
addColumn($this->lng->txt(
"size"),
'size',
'');
66 $this->
addColumn($this->lng->txt(
"date"),
'date',
'');
71 $this->
addCommandButton(
'cancelDeleteExportFile', $this->lng->txt(
'cancel'));
75 $this->
addMultiCommand(
'downloadExportFile', $this->lng->txt(
'download'));
76 $this->
addMultiCommand(
'confirmDeleteExportFile', $this->lng->txt(
'delete'));
79 $this->
setRowTemplate(
"tpl.il_svy_qpl_export_row.html",
"Modules/SurveyQuestionPool");
81 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
95 $this->
enable(
'select_all');
109 if (!$this->confirmdelete)
111 $this->tpl->setCurrentBlock(
'checkbox');
112 $this->tpl->setVariable(
'CB_ID', $this->counter);
114 $this->tpl->parseCurrentBlock();
118 $this->tpl->setCurrentBlock(
'hidden');
120 $this->tpl->parseCurrentBlock();
122 $this->tpl->setVariable(
'CB_ID', $this->counter);
123 $this->tpl->setVariable(
"PHRASE",
$data[
"phrase"]);
125 $this->tpl->setVariable(
"SIZE",
$data[
"size"]);
126 $this->tpl->setVariable(
"DATE",
$data[
"date"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setStyle($a_element, $a_style)
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
addMultiCommand($a_cmd, $a_text)
Add Command button.
enable($a_module_name)
enables particular modules of table
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
setFormName($a_formname="")
Set Form name.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
__construct($a_parent_obj, $a_parent_cmd, $confirmdelete=false)
Constructor.