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.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

dummy.php

Zuletzt modifiziert: 02.04.2025, 15:02 - Dateigröße: 1.20 KiB


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\log;
15   
16  /**
17  * Dummy logger
18  */
19  class dummy implements log_interface
20  {
21      /**
22      * {@inheritdoc}
23      */
24      public function is_enabled($type = '')
25      {
26          return false;
27      }
28   
29      /**
30      * {@inheritdoc}
31      */
32      public function disable($type = '')
33      {
34      }
35   
36      /**
37      * {@inheritdoc}
38      */
39      public function enable($type = '')
40      {
41      }
42   
43      /**
44      * {@inheritdoc}
45      */
46      public function add($mode, $user_id, $log_ip, $log_operation, $log_time = false, $additional_data = array())
47      {
48          return false;
49      }
50   
51      /**
52      * {@inheritdoc}
53      */
54      public function delete($mode, $conditions = array())
55      {
56      }
57   
58      /**
59      * {@inheritdoc}
60      */
61      public function get_logs($mode, $count_logs = true, $limit = 0, $offset = 0, $forum_id = 0, $topic_id = 0, $user_id = 0, $log_time = 0, $sort_by = 'l.log_time DESC', $keywords = '')
62      {
63          return array();
64      }
65   
66      /**
67      * {@inheritdoc}
68      */
69      public function get_log_count()
70      {
71          return 0;
72      }
73   
74      /**
75      * {@inheritdoc}
76      */
77      public function get_valid_offset()
78      {
79          return 0;
80      }
81  }
82