55 return $this->
strToBool($this->
get(self::F_DOWNLOAD_ASCII_FILENAME,
'1'));
65 return $this->
strToBool($this->
get(self::F_SHOW_AMOUNT_OF_DOWNLOADS,
'1'));
75 $extensions = array_map(fn(
string $extension):
string => strtolower(trim($extension,
" \t\n\r\0\x0B,")), $extensions);
84 self::F_INLINE_FILE_EXTENSIONS,
85 $this->
arrayToStr($this->default_inline_extensions)
92 return $this->
strToInt($this->
get(self::F_BG_LIMIT,
'200'));
104 return $value ===
'1';
109 return $value ?
'1' :
'0';
114 return (
string) $int;
124 return implode(self::SEPARATOR, $array);
129 return explode(self::SEPARATOR, $str);
setShowAmountOfDownloads(bool $value)
setDownloadLimitInMB(int $limit)
isDownloadWithAsciiFileName()
const F_DOWNLOAD_ASCII_FILENAME
array $default_inline_extensions
const F_SHOW_AMOUNT_OF_DOWNLOADS
getInlineFileExtensions()
isShowAmountOfDownloads()
setInlineFileExtensions(array $extensions)
setDownloadWithAsciiFileName(bool $value)
const F_INLINE_FILE_EXTENSIONS
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...