PHP 클래스 Pop\Auth\Adapter\Table

저자: Nick Sagona, III ([email protected])
상속: extends AbstractAdapter
파일 보기 프로젝트 열기: nicksagona/PopPHP 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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