3 declare(strict_types=1);
    38         $this->obj = $a_exp_obj;
    42         $this->
setTitle($this->
lng->txt(
'exp_export_files'));
    51         $this->
setRowTemplate(
'tpl.export_table_row.html', 
'Services/Export');
    66         if ($a_field === 
'size') {
    83     public function addCustomColumn(
string $a_txt, 
object $a_obj, 
string $a_func): void
    86         $this->custom_columns[] = array(
'txt' => $a_txt,
   105         foreach ($this->parent_obj->getFormats() as 
$f) {
   106             $types[] = 
$f[
'key'];
   107             $this->formats[
$f[
'key']] = $f[
'txt'];
   112             $this->obj->getType()
   116     protected function fillRow(array $a_set): void
   119             $this->tpl->setCurrentBlock(
'custom');
   121             $this->tpl->setVariable(
'VAL_CUSTOM', $c[
'obj']->
$f($a_set[
'type'], $a_set[
'file']) . 
' ');
   122             $this->tpl->parseCurrentBlock();
   126         $this->tpl->setVariable(
'VAL_ID', $file_id);
   128         $type = (isset($this->formats[$a_set[
'type']]) && $this->formats[$a_set[
'type']] != 
"")
   129             ? $this->formats[$a_set[
'type']]
   131         $this->tpl->setVariable(
'VAL_TYPE', $type);
   132         $this->tpl->setVariable(
'VAL_FILE', $a_set[
'file']);
   134         $this->tpl->setVariable(
   139         $this->tpl->setVariable(
'TXT_DOWNLOAD', $this->
lng->txt(
'download'));
   144         $this->tpl->setVariable(
'URL_DOWNLOAD', 
$url);
   149         return $row[
'type'] . 
':' . $row[
'file'];
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
 
numericOrdering(string $a_field)
 
addCustomMultiCommand(string $a_txt, string $a_cmd)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setDefaultOrderField(string $a_defaultorderfield)
 
static formatSize(int $size, string $a_mode='short', ?ilLanguage $a_lng=null)
Returns the specified file size value in a human friendly form. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static _getExportFiles(int $a_obj_id, $a_export_types="", string $a_obj_type="")
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
addCustomColumn(string $a_txt, object $a_obj, string $a_func)
 
__construct(object $a_parent_obj, string $a_parent_cmd, ilObject $a_exp_obj)
Constructor. 
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
addMultiCommand(string $a_cmd, string $a_text)
 
setEnableHeader(bool $a_enableheader)