Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
type_interface.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb\files\types;
15
16 use phpbb\files\upload;
17
18 interface type_interface
19 {
20 /**
21 * Handle upload for upload types. Arguments passed to this method will be
22 * handled by the upload type classes themselves.
23 *
24 * @return \phpbb\files\filespec|bool Filespec instance if upload is
25 * successful or false if not
26 */
27 public function upload();
28
29 /**
30 * Set upload instance
31 * Needs to be executed before every upload.
32 *
33 * @param upload $upload Upload instance
34 *
35 * @return type_interface Returns itself
36 */
37 public function set_upload(upload $upload);
38 }
39