Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
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 |
filesystem_exception.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\filesystem\exception;
15
16 class filesystem_exception extends \phpbb\exception\runtime_exception
17 {
18 /**
19 * Constructor
20 *
21 * @param string $message The Exception message to throw (must be a language variable).
22 * @param string $filename The file that caused the error.
23 * @param array $parameters The parameters to use with the language var.
24 * @param \Exception $previous The previous runtime_exception used for the runtime_exception chaining.
25 * @param integer $code The Exception code.
26 */
27 public function __construct($message = "", $filename = '', $parameters = array(), \Exception $previous = null, $code = 0)
28 {
29 parent::__construct($message, array_merge(array('filename' => $filename), $parameters), $previous, $code);
30 }
31
32 /**
33 * Returns the filename that triggered the error
34 *
35 * @return string
36 */
37 public function get_filename()
38 {
39 $parameters = parent::get_parameters();
40 return $parameters['filename'];
41 }
42 }
43