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 |
html_migrator_output_handler.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\db\output_handler;
15
16 class html_migrator_output_handler implements migrator_output_handler_interface
17 {
18 /**
19 * Language object.
20 *
21 * @var \phpbb\language\language
22 */
23 private $language;
24
25 /**
26 * Constructor
27 *
28 * @param \phpbb\language\language $language Language object
29 */
30 public function __construct(\phpbb\language\language $language)
31 {
32 $this->language = $language;
33 }
34
35 /**
36 * {@inheritdoc}
37 */
38 public function write($message, $verbosity)
39 {
40 if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE)
41 {
42 $final_message = $this->language->lang_array(array_shift($message), $message);
43 echo $final_message . "<br />\n";
44 }
45 }
46 }
47