ILIAS  release_7 Revision v7.30-3-g800a261c036
FileNamePolicy.php
Go to the documentation of this file.
1<?php
2
4
10{
16 public function check(string $extension) : bool;
17
18 public function isValidExtension(string $extension) : bool;
19
20 public function isBlockedExtension(string $extension) : bool;
21
22 public function prepareFileNameForConsumer(string $filename_with_extension) : string;
23}
An exception for terminatinating execution or to throw for unit testing.
prepareFileNameForConsumer(string $filename_with_extension)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...