ILIAS  release_7 Revision v7.30-3-g800a261c036
File.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
8interface File extends FormInput
9{
10 public function withAcceptedMimeTypes(array $mime_types) : File;
11
12 public function getAcceptedMimeTypes() : array;
13
14 public function withMaxFileSize(int $size_in_bytes) : File;
15
16 public function getMaxFileFize() : int;
17
18 public function getUploadHandler() : UploadHandler;
19}
An exception for terminatinating execution or to throw for unit testing.
This describes file field.
Definition: File.php:9
withAcceptedMimeTypes(array $mime_types)
withMaxFileSize(int $size_in_bytes)
This describes inputs that can be used in forms.
Definition: FormInput.php:16