[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/phpbb/log/ -> dummy.php (source)

   1  <?php
   2  /**
   3  *
   4  * This file is part of the phpBB Forum Software package.
   5  *
   6  * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7  * @license GNU General Public License, version 2 (GPL-2.0)
   8  *
   9  * 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  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1