PHP Class A1_Driver_Mango

Author: avis ([email protected])
Inheritance: extends A1, implements A1_Driver_Interface
ファイルを表示 Open project: wouterrr/a1

Protected Methods

Method Description
_get_failed_attempts ( $user ) : void Returns the number of failed login attempts
_increment_failed_attempts ( $user ) : void Increment the number of failed login attempts since last successfull login
_increment_logins ( $user ) : void Increment the number of logins of the user by 1
_load_user ( $username ) : object Loads the user object from database using username
_save_user ( $user ) : void Saves the user object

Method Details

_get_failed_attempts() protected method

Returns the number of failed login attempts
protected _get_failed_attempts ( $user ) : void
return void

_increment_failed_attempts() protected method

Increment the number of failed login attempts since last successfull login
protected _increment_failed_attempts ( $user ) : void
return void

_increment_logins() protected method

Increment the number of logins of the user by 1
protected _increment_logins ( $user ) : void
return void

_load_user() protected method

Loads the user object from database using username
protected _load_user ( $username ) : object
return object User Object

_save_user() protected method

Saves the user object
protected _save_user ( $user ) : void
return void