24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
50 parent::__construct($a_parent_obj, $a_parent_cmd);
52 $lng = $DIC->language();
61 $this->
setTitle($this->lng->txt(
'svy_export_files'));
62 $this->
setStyle(
'table',
'fullwidth');
66 $this->
addColumn($this->lng->txt(
"file"),
'file',
'');
67 $this->
addColumn($this->lng->txt(
"size"),
'size',
'');
68 $this->
addColumn($this->lng->txt(
"date"),
'date',
'');
72 $this->
addCommandButton(
'cancelDeleteExportFile', $this->lng->txt(
'cancel'));
74 $this->
addMultiCommand(
'downloadExportFile', $this->lng->txt(
'download'));
75 $this->
addMultiCommand(
'confirmDeleteExportFile', $this->lng->txt(
'delete'));
78 $this->
setRowTemplate(
"tpl.il_svy_qpl_export_row.html",
"Modules/SurveyQuestionPool");
80 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
91 $this->
enable(
'select_all');
105 if (!$this->confirmdelete) {
106 $this->tpl->setCurrentBlock(
'checkbox');
107 $this->tpl->setVariable(
'CB_ID', $this->counter);
109 $this->tpl->parseCurrentBlock();
111 $this->tpl->setCurrentBlock(
'hidden');
113 $this->tpl->parseCurrentBlock();
115 $this->tpl->setVariable(
'CB_ID', $this->counter);
116 $this->tpl->setVariable(
"PHRASE",
$data[
"phrase"]);
118 $this->tpl->setVariable(
"SIZE",
$data[
"size"]);
119 $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.
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.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
__construct($a_parent_obj, $a_parent_cmd, $confirmdelete=false)
Constructor.