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.
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: 09.10.2024, 12:54 - Dateigröße: 1.73 KiB


001  <?php
002  /**
003  *
004  * This file is part of the phpBB Forum Software package.
005  *
006  * @copyright (c) phpBB Limited <https://www.phpbb.com>
007  * @license GNU General Public License, version 2 (GPL-2.0)
008  *
009  * For full copyright and license information, please see
010  * the docs/CREDITS.txt file.
011  *
012  */
013   
014  namespace phpbb\cache\driver;
015   
016  /**
017  * ACM dummy Caching
018  */
019  class dummy extends \phpbb\cache\driver\base
020  {
021      /**
022      * Set cache path
023      */
024      function __construct()
025      {
026      }
027   
028      /**
029      * {@inheritDoc}
030      */
031      function load()
032      {
033          return true;
034      }
035   
036      /**
037      * {@inheritDoc}
038      */
039      function unload()
040      {
041      }
042   
043      /**
044      * {@inheritDoc}
045      */
046      function save()
047      {
048      }
049   
050      /**
051      * {@inheritDoc}
052      */
053      function tidy()
054      {
055          global $config;
056   
057          // This cache always has a tidy room.
058          $config->set('cache_last_gc', time(), false);
059      }
060   
061      /**
062      * {@inheritDoc}
063      */
064      function get($var_name)
065      {
066          return false;
067      }
068   
069      /**
070      * {@inheritDoc}
071      */
072      function put($var_name, $var, $ttl = 0)
073      {
074      }
075   
076      /**
077      * {@inheritDoc}
078      */
079      function purge()
080      {
081      }
082   
083      /**
084      * {@inheritDoc}
085      */
086      function destroy($var_name, $table = '')
087      {
088      }
089   
090      /**
091      * {@inheritDoc}
092      */
093      function _exists($var_name)
094      {
095          return false;
096      }
097   
098      /**
099      * {@inheritDoc}
100      */
101      function sql_load($query)
102      {
103          return false;
104      }
105   
106      /**
107      * {@inheritDoc}
108      */
109      function sql_save(\phpbb\db\driver\driver_interface $db, $query, $query_result, $ttl)
110      {
111          return $query_result;
112      }
113   
114      /**
115      * {@inheritDoc}
116      */
117      function sql_exists($query_id)
118      {
119          return false;
120      }
121   
122      /**
123      * {@inheritDoc}
124      */
125      function sql_fetchrow($query_id)
126      {
127          return false;
128      }
129   
130      /**
131      * {@inheritDoc}
132      */
133      function sql_fetchfield($query_id, $field)
134      {
135          return false;
136      }
137   
138      /**
139      * {@inheritDoc}
140      */
141      function sql_rowseek($rownum, $query_id)
142      {
143          return false;
144      }
145   
146      /**
147      * {@inheritDoc}
148      */
149      function sql_freeresult($query_id)
150      {
151          return false;
152      }
153  }
154