Class frontend\models\ResetPasswordForm
Inheritance | frontend\models\ResetPasswordForm » yii\base\Model |
---|
Password reset form
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$password | frontend\models\ResetPasswordForm |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Creates a form model given a token. | frontend\models\ResetPasswordForm |
resetPassword() | Resets password. | frontend\models\ResetPasswordForm |
rules() | frontend\models\ResetPasswordForm |
Property Details
Method Details
Creates a form model given a token.
public void __construct ( $token, $config = [] ) | ||
$token | string | |
$config | array | Name-value pairs that will be used to initialize the object properties |
throws | \yii\base\InvalidParamException | if token is empty or not valid |
---|
Resets password.
public boolean resetPassword ( ) | ||
return | boolean | If password was reset. |
---|
public void rules ( ) |