37 $this->
language->loadLanguageModule(
"bgtask");
38 $this->field_factory = $DIC->ui()->factory()->input()->field();
44 return $this->field_factory->section(
52 $download_limit = $this->field_factory
54 $this->
language->txt(
'bgtask_setting_limit'),
55 $this->
language->txt(
'bgtask_setting_limit_info')
59 ->withAdditionalTransformation(
60 $this->
refinery->custom()->transformation(
function ($value):
void {
61 $this->
settings->setDownloadLimitInMB($value);
65 $inline_file_extensions = $this->field_factory
67 $this->
language->txt(
'inline_file_extensions'),
69 $this->
language->txt(
'inline_file_extensions_info')
73 $this->
refinery->custom()->transformation(
function ($value):
void {
74 $this->
settings->setInlineFileExtensions($value);
78 $show_amount_of_downloads = $this->field_factory
80 $this->
language->txt(
'show_amount_of_downloads'),
81 $this->
language->txt(
'show_amount_of_downloads_info')
85 $this->
refinery->custom()->transformation(
86 function ($value):
void {
87 $this->
settings->setShowAmountOfDownloads($value);
92 $ascii_filename = $this->field_factory
94 $this->
language->txt(
'download_ascii_filename'),
95 $this->
language->txt(
'download_ascii_filename_info')
99 $this->
refinery->custom()->transformation(
function ($value):
void {
100 $this->
settings->setDownloadWithAsciiFileName($value);
104 return $this->field_factory->group(
108 $inline_file_extensions,
109 $show_amount_of_downloads,
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...