forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Standard.php
51 lines (42 loc) · 1.01 KB
/
Standard.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
namespace ILIAS\UI\Component\Dropzone\File;
use ILIAS\UI\Component\Button\Button;
/**
* Interface Standard
*
* A standard file dropzone offers the possibility to upload dropped files to the server.
* The dropzone also displays a button to select the files manually from the hard disk.
*
* @author nmaerchy <[email protected]>
*
* @package ILIAS\UI\Component\Dropzone\File
*/
interface Standard extends File {
/**
* Get a dropzone like this, displaying the given message in it.
*
* @param string $message
*
* @return $this
*/
public function withMessage($message);
/**
* Get the message of of this dropzone.
*
* @return string
*/
public function getMessage();
/**
* Get a dropzone like this, using the given button to upload the files to the server.
*
* @param Button $button
* @return $this
*/
public function withUploadButton(Button $button);
/**
* Get the button to upload the files to the server.
*
* @return Button
*/
public function getUploadButton();
}