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):
void {
62 $this->
settings->setDownloadLimitInMB($value);
66 $inline_file_extensions = $this->field_factory
68 $this->
language->txt(
'inline_file_extensions'),
70 $this->
language->txt(
'inline_file_extensions_info')
74 $this->
refinery->custom()->transformation(
function ($value):
void {
75 $this->
settings->setInlineFileExtensions($value);
79 $show_amount_of_downloads = $this->field_factory
81 $this->
language->txt(
'show_amount_of_downloads'),
82 $this->
language->txt(
'show_amount_of_downloads_info')
86 $this->
refinery->custom()->transformation(
87 function ($value):
void {
88 $this->
settings->setShowAmountOfDownloads($value);
93 $ascii_filename = $this->field_factory
95 $this->
language->txt(
'download_ascii_filename'),
96 $this->
language->txt(
'download_ascii_filename_info')
100 $this->
refinery->custom()->transformation(
function ($value):
void {
101 $this->
settings->setDownloadWithAsciiFileName($value);
105 return $this->field_factory->group(
109 $inline_file_extensions,
110 $show_amount_of_downloads,
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
language()
description: > Example for rendring a language glyph.