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