ILIAS  release_7 Revision v7.30-3-g800a261c036
NoneFileNamePolicy.php
Go to the documentation of this file.
1<?php
2
4
11{
12 public function check(string $extension) : bool
13 {
14 return true;
15 }
16
17 public function isValidExtension(string $extension) : bool
18 {
19 return true;
20 }
21
22 public function isBlockedExtension(string $extension) : bool
23 {
24 return true;
25 }
26
27 public function prepareFileNameForConsumer(string $filename_with_extension) : string
28 {
29 return $filename_with_extension;
30 }
31
32}
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...