PHP Class app\models\LdapUser

Inheritance: extends User
Show file Open project: meolu/walle-web

Public Methods

Method Description
getId ( )
setId ( $id )
tableName ( )
validatePassword ( string $password ) : boolean Validates password

Private Methods

Method Description
generate_password ( $password, $encryptionType )
random_salt ( $length )

Method Details

getId() public method

public getId ( )

setId() public method

public setId ( $id )

tableName() public static method

public static tableName ( )

validatePassword() public method

Validates password
public validatePassword ( string $password ) : boolean
$password string password to validate
return boolean if password provided is valid for current user