Property | Type | Description | |
---|---|---|---|
$password |
Method | Description | |
---|---|---|
attributeLabels ( ) | ||
behaviors ( ) | ||
findByUsername ( string $username ) : static | null | Finds user by username | |
findIdentity ( $id ) | ||
findIdentityByAccessToken ( $token, $type = null ) | ||
generateAuthKey ( ) | Generates "remember me" authentication key | |
getAuthKey ( ) | ||
getGenderList ( ) | ||
getGenderMsg ( ) | ||
getId ( ) | ||
getStatusList ( ) | ||
getStatusMsg ( ) | ||
getStore ( ) : |
||
rules ( ) | ||
setPassword ( string $password ) | Generates password hash from password and sets it to the model | |
tableName ( ) | ||
validateAuthKey ( $authKey ) | ||
validatePassword ( string $password ) : boolean | Validates password |
public static findByUsername ( string $username ) : static | null | ||
$username | string | |
return | static | null |
public static findIdentityByAccessToken ( $token, $type = null ) |
public generateAuthKey ( ) |
public setPassword ( string $password ) | ||
$password | string |
public validatePassword ( string $password ) : boolean | ||
$password | string | password to validate |
return | boolean | if password provided is valid for current user |