ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
FileNamePolicy.php
Go to the documentation of this file.
1 <?php
2 
20 
25 interface FileNamePolicy
26 {
30  public function check(string $extension): bool;
31 
32  public function isValidExtension(string $extension): bool;
33 
34  public function isBlockedExtension(string $extension): bool;
35 
36  public function prepareFileNameForConsumer(string $filename_with_extension): string;
37 }
prepareFileNameForConsumer(string $filename_with_extension)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...