Class app\modules\main\models\ForgotForm
Inheritance | app\modules\main\models\ForgotForm » yii\base\Model |
---|
Class ForgotForm
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
app\modules\main\models\ForgotForm | |||
$passwordLength | app\modules\main\models\ForgotForm | ||
$username | app\modules\main\models\ForgotForm |
Public Methods
Method | Description | Defined By |
---|---|---|
attributeLabels() | app\modules\main\models\ForgotForm | |
getUser() | Finds user by [[username, email]] | app\modules\main\models\ForgotForm |
resetPassword() | app\modules\main\models\ForgotForm | |
rules() | app\modules\main\models\ForgotForm | |
validateUser() | Validates the password. | app\modules\main\models\ForgotForm |
Property Details
Method Details
void attributeLabels( ) |
Finds user by [[username, email]]
app\modules\main\models\User|null getUser( ) |
string|bool resetPassword( ) | ||
return | string|bool | генерация пароля пользователя |
---|
void rules( ) |
Validates the password.
This method serves as the inline validation for password.
void validateUser( ) |