38 $this->
language->loadLanguageModule(
"bgtask");
39 $this->field_factory =
$DIC->ui()->factory()->input()->field();
45 return $this->field_factory->section(
53 $download_limit = $this->field_factory
55 $this->
language->txt(
'bgtask_setting_limit'),
56 $this->language->txt(
'bgtask_setting_limit_info')
60 ->withAdditionalTransformation(
61 $this->
refinery->custom()->transformation(function ($value) {
62 $this->
settings->setDownloadLimitInMB($value);
67 $inline_file_extensions = $this->field_factory
69 $this->
language->txt(
'inline_file_extensions'),
71 $this->language->txt(
'inline_file_extensions_info')
73 ->withValue($this->
settings->getInlineFileExtensions())
74 ->withAdditionalTransformation(
75 $this->
refinery->custom()->transformation(function ($value) {
76 $this->
settings->setInlineFileExtensions($value);
81 $show_amount_of_downloads = $this->field_factory
83 $this->
language->txt(
'show_amount_of_downloads'),
84 $this->language->txt(
'show_amount_of_downloads_info')
86 ->withValue($this->
settings->isShowAmountOfDownloads())
87 ->withAdditionalTransformation(
88 $this->
refinery->custom()->transformation(
90 $this->
settings->setShowAmountOfDownloads($value);
96 $ascii_filename = $this->field_factory
98 $this->
language->txt(
'download_ascii_filename'),
99 $this->language->txt(
'download_ascii_filename_info')
101 ->withValue($this->
settings->isDownloadWithAsciiFileName())
102 ->withAdditionalTransformation(
103 $this->
refinery->custom()->transformation(function ($value) {
104 $this->
settings->setDownloadWithAsciiFileName($value);
109 return $this->field_factory->group(
113 $inline_file_extensions,
114 $show_amount_of_downloads,
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...