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 |
guesser_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\mimetype;
15
16 interface guesser_interface
17 {
18 /**
19 * Returns whether this guesser is supported on the current OS
20 *
21 * @return bool True if guesser is supported, false if not
22 */
23 public function is_supported();
24
25 /**
26 * Guess mimetype of supplied file
27 *
28 * @param string $file Path to file
29 * @param string $file_name The real file name
30 *
31 * @return string Guess for mimetype of file
32 */
33 public function guess($file, $file_name = '');
34
35 /**
36 * Get the guesser priority
37 *
38 * @return int Guesser priority
39 */
40 public function get_priority();
41
42 /**
43 * Set the guesser priority
44 *
45 * @param int $priority Guesser priority
46 *
47 * @return void
48 */
49 public function set_priority($priority);
50 }
51