PHP 클래스 Pop\Auth\Adapter\File

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

보호된 프로퍼티들

프로퍼티 타입 설명
$delimiter string Field delimiter
$users array Users

공개 메소드들

메소드 설명
__construct ( string $filename, string $delimiter = '|' ) : File Constructor
authenticate ( string $username, string $password, integer $encryption, array $options ) : integer Method to authenticate the user

보호된 메소드들

메소드 설명
parse ( string $filename ) : void Method to parse the source file.

메소드 상세

__construct() 공개 메소드

Instantiate the AuthFile object
public __construct ( string $filename, string $delimiter = '|' ) : File
$filename string
$delimiter string
리턴 File

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

parse() 보호된 메소드

Method to parse the source file.
protected parse ( string $filename ) : void
$filename string
리턴 void

프로퍼티 상세

$delimiter 보호되어 있는 프로퍼티

Field delimiter
protected string $delimiter
리턴 string

$users 보호되어 있는 프로퍼티

Users
protected array $users
리턴 array