Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

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

null.php

Zuletzt modifiziert: 09.10.2024, 12:54 - Dateigröße: 1.71 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 Null Caching
 018  */
 019  class null 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          // This cache always has a tidy room.
 056          set_config('cache_last_gc', time(), true);
 057      }
 058   
 059      /**
 060      * {@inheritDoc}
 061      */
 062      function get($var_name)
 063      {
 064          return false;
 065      }
 066   
 067      /**
 068      * {@inheritDoc}
 069      */
 070      function put($var_name, $var, $ttl = 0)
 071      {
 072      }
 073   
 074      /**
 075      * {@inheritDoc}
 076      */
 077      function purge()
 078      {
 079      }
 080   
 081      /**
 082      * {@inheritDoc}
 083      */
 084      function destroy($var_name, $table = '')
 085      {
 086      }
 087   
 088      /**
 089      * {@inheritDoc}
 090      */
 091      function _exists($var_name)
 092      {
 093          return false;
 094      }
 095   
 096      /**
 097      * {@inheritDoc}
 098      */
 099      function sql_load($query)
 100      {
 101          return false;
 102      }
 103   
 104      /**
 105      * {@inheritDoc}
 106      */
 107      function sql_save(\phpbb\db\driver\driver_interface $db, $query, $query_result, $ttl)
 108      {
 109          return $query_result;
 110      }
 111   
 112      /**
 113      * {@inheritDoc}
 114      */
 115      function sql_exists($query_id)
 116      {
 117          return false;
 118      }
 119   
 120      /**
 121      * {@inheritDoc}
 122      */
 123      function sql_fetchrow($query_id)
 124      {
 125          return false;
 126      }
 127   
 128      /**
 129      * {@inheritDoc}
 130      */
 131      function sql_fetchfield($query_id, $field)
 132      {
 133          return false;
 134      }
 135   
 136      /**
 137      * {@inheritDoc}
 138      */
 139      function sql_rowseek($rownum, $query_id)
 140      {
 141          return false;
 142      }
 143   
 144      /**
 145      * {@inheritDoc}
 146      */
 147      function sql_freeresult($query_id)
 148      {
 149          return false;
 150      }
 151  }
 152