Вход Регистрация
Файл: phpbb/passwords/driver/base.php
Строк: 44
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/

namespace phpbbpasswordsdriver;

abstract class 
base implements driver_interface
{
    
/** @var phpbbconfigconfig */
    
protected $config;

    
/** @var phpbbpasswordsdriverhelper */
    
protected $helper;

    
/** @var driver name */
    
protected $name;

    
/**
    * Constructor of passwords driver object
    *
    * @param phpbbconfigconfig $config phpBB config
    * @param phpbbpasswordsdriverhelper $helper Password driver helper
    */
    
public function __construct(phpbbconfigconfig $confighelper $helper)
    {
        
$this->config $config;
        
$this->helper $helper;
    }

    
/**
    * {@inheritdoc}
    */
    
public function is_supported()
    {
        return 
true;
    }

    
/**
    * {@inheritdoc}
    */
    
public function is_legacy()
    {
        return 
false;
    }

    
/**
    * {@inheritdoc}
    */
    
public function get_settings_only($hash$full false)
    {
        return 
false;
    }
}
Онлайн: 2
Реклама