4 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
28 public function __construct($a_parent_obj, $a_parent_cmd, $formname =
'test_output')
37 parent::__construct($a_parent_obj, $a_parent_cmd);
42 $this->
addColumn($this->lng->txt(
'filename'),
'filename',
'70%');
43 $this->
addColumn($this->lng->txt(
'date'),
'date',
'29%');
51 $this->
setRowTemplate(
"tpl.il_as_qpl_fileupload_file_row.html",
"Modules/TestQuestionPool");
57 #$this->enable('select_all'); 91 $this->
enable(
'select_all');
114 $ilAccess = $DIC[
'ilAccess'];
116 $this->tpl->setVariable(
'VAL_ID', $a_set[
'solution_id']);
121 $this->tpl->setVariable(
'VAL_POSTVAR', $this->
getPostVar());
134 if (!isset($a_set[
'webpath']) || !strlen($a_set[
'webpath'])) {
138 $link =
"<a href='{$a_set['webpath']}{$a_set['value1']}' download target='_blank'>";
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
addCommandButtonInstance(ilButtonBase $a_button)
Add Command button instance.
initCommand(ilAssFileUploadFileTableCommandButton $commandButton, $postVar)
setStyle($a_element, $a_style)
setDisplayAsBlock($a_val)
Set display as block.
__construct($a_parent_obj, $a_parent_cmd, $formname='test_output')
Constructor.
static setUseRelativeDates($a_status)
set use relative dates
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
buildFileItemContent($a_set)
setSelectAllCheckbox($a_select_all_checkbox, $a_select_all_on_top=false)
Set the name of the checkbox that should be toggled with a select all button.
enable($a_module_name)
enables particular modules of table
setRowTemplate($a_template, $a_template_dir="")
Set row template.
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.