[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/passwords/driver/ -> base.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\passwords\driver;
  15  
  16  abstract class base implements rehashable_driver_interface
  17  {
  18      /** @var \phpbb\config\config */
  19      protected $config;
  20  
  21      /** @var \phpbb\passwords\driver\helper */
  22      protected $helper;
  23  
  24      /** @var string Driver name */
  25      protected $name;
  26  
  27      /**
  28      * Constructor of passwords driver object
  29      *
  30      * @param \phpbb\config\config $config phpBB config
  31      * @param \phpbb\passwords\driver\helper $helper Password driver helper
  32      */
  33  	public function __construct(\phpbb\config\config $config, helper $helper)
  34      {
  35          $this->config = $config;
  36          $this->helper = $helper;
  37      }
  38  
  39      /**
  40      * {@inheritdoc}
  41      */
  42  	public function is_supported()
  43      {
  44          return true;
  45      }
  46  
  47      /**
  48      * {@inheritdoc}
  49      */
  50  	public function is_legacy()
  51      {
  52          return false;
  53      }
  54  
  55      /**
  56       * {@inheritdoc}
  57       */
  58  	public function needs_rehash($hash)
  59      {
  60          return false;
  61      }
  62  
  63      /**
  64      * {@inheritdoc}
  65      */
  66  	public function get_settings_only($hash, $full = false)
  67      {
  68          return false;
  69      }
  70  }


Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1