PHP Класс Pop\Auth\Adapter\Table

Автор: Nick Sagona, III ([email protected])
Наследование: extends AbstractAdapter
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$accessField string Access field
$passwordField string Password field
$tableName string DB table name / class name
$usernameField string Username field

Открытые методы

Метод Описание
__construct ( string $tableName, string $usernameField = 'username', string $passwordField = 'password', string $accessField = null ) : Table Constructor
authenticate ( string $username, string $password, integer $encryption, array $options ) : integer Method to authenticate the user

Описание методов

__construct() публичный Метод

Instantiate the DbTable object
public __construct ( string $tableName, string $usernameField = 'username', string $passwordField = 'password', string $accessField = null ) : Table
$tableName string
$usernameField string
$passwordField string
$accessField string
Результат Table

authenticate() публичный Метод

Method to authenticate the user
public authenticate ( string $username, string $password, integer $encryption, array $options ) : integer
$username string
$password string
$encryption integer
$options array
Результат integer

Описание свойств

$accessField защищенное свойство

Access field
protected string $accessField
Результат string

$passwordField защищенное свойство

Password field
protected string $passwordField
Результат string

$tableName защищенное свойство

DB table name / class name
protected string $tableName
Результат string

$usernameField защищенное свойство

Username field
protected string $usernameField
Результат string