Свойство | Тип | Описание | |
---|---|---|---|
$password | |||
$rememberMe | |||
$username |
Метод | Описание | |
---|---|---|
login ( ) : boolean | Logs in a user using the provided username and password. | |
rules ( ) | ||
validatePassword ( string $attribute, array $params ) | Validates the password. |
Метод | Описание | |
---|---|---|
getUser ( ) : |
Finds user by [[username]] |
public validatePassword ( string $attribute, array $params ) | ||
$attribute | string | the attribute currently being validated |
$params | array | the additional name-value pairs given in the rule |