24include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
 
   48                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   57                $lng->loadLanguageModule(
"exp");
 
   58                $this->
setTitle($lng->txt(
"exp_export_files"));
 
   61                $this->
setStyle(
'table', 
'fullwidth');
 
   66                $this->
addColumn($this->lng->txt(
"type"),
'type');
 
   67                $this->
addColumn($this->lng->txt(
"file"),
'file');
 
   68                $this->
addColumn($this->lng->txt(
"size"),
'size');
 
   69                $this->
addColumn($this->lng->txt(
"date"),
'date');
 
   74                        $this->
addCommandButton(
'cancelDeleteExportFile', $this->lng->txt(
'cancel'));
 
   78                        $this->
addColumn($this->lng->txt(
"action"));
 
   80                        $this->
addMultiCommand(
'confirmDeleteExportFile', $this->lng->txt(
'delete'));
 
   83                $this->
setRowTemplate(
"tpl.scorm2004_export_row.html", 
"Modules/Scorm2004");
 
   85                $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
 
   99                        $this->
enable(
'select_all');
 
  113                if (!$this->confirmdelete)
 
  115                        $this->tpl->setCurrentBlock(
'checkbox');
 
  116                        $this->tpl->setVariable(
'CB_ID', $this->counter);
 
  118                        $this->tpl->setVariable(
"FILETYPE", 
$data[
"filetype"]);
 
  119                        $this->tpl->parseCurrentBlock();
 
  121                        $this->tpl->setCurrentBlock(
'action');
 
  124                        $this->tpl->setVariable(
"DOWNLOAD_HREF", 
$ilCtrl->getLinkTarget($this->getParentObject(), 
"downloadExportFile"));
 
  125                        $this->tpl->setVariable(
"DOWNLOAD_TXT", 
$lng->txt(
"download"));
 
  126                        $this->tpl->parseCurrentBlock();
 
  130                        $this->tpl->setCurrentBlock(
'hidden');
 
  133                        $this->tpl->parseCurrentBlock();
 
  135                $this->tpl->setVariable(
'CB_ID', $this->counter);
 
  137                $this->tpl->setVariable(
"SIZE", 
$data[
"size"]);
 
  138                $this->tpl->setVariable(
"DATE", 
$data[
"date"]);
 
  139                $this->tpl->setVariable(
"TYPE", 
$data[
"type"]);
 
__construct($a_parent_obj, $a_parent_cmd, $confirmdelete=false)
Constructor.
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.
getParentObject()
Get parent object.
setPrefix($a_prefix)
set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort...
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setFormName($a_formname)
Set Form name.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
disable($a_module_name)
diesables particular modules of table
setStyle($a_element, $a_style)
enable($a_module_name)
enables particular modules of table
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public