ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Class ilFileServicesPolicy. More...
Public Member Functions | |
__construct (private ilFileServicesSettings $settings, string $reason='Extension is blacklisted.') | |
process (FileStream $stream, Metadata $metadata) | |
![]() | |
__construct (private array $blacklist, private string $reason='Extension is blacklisted.') | |
BlacklistExtensionPreProcessor constructor. More... | |
![]() | |
process (FileStream $stream, Metadata $metadata) | |
This method gets invoked by the file upload service to process the file with the help of the processor. More... | |
Additional Inherited Members | |
![]() | |
checkPath (string $path) | |
getRejectionMessage () | |
getOKMessage () | |
![]() | |
checkPath (string $path) | |
getRejectionMessage () | |
getOKMessage () | |
Class ilFileServicesPolicy.
Definition at line 29 of file class.ilFileServicesPreProcessor.php.
ilFileServicesPreProcessor::__construct | ( | private ilFileServicesSettings | $settings, |
string | $reason = 'Extension is blacklisted.' |
||
) |
Definition at line 31 of file class.ilFileServicesPreProcessor.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\settings().
ilFileServicesPreProcessor::process | ( | FileStream | $stream, |
Metadata | $metadata | ||
) |
Definition at line 39 of file class.ilFileServicesPreProcessor.php.
References ILIAS\Repository\settings().