Class frontend\models\ResetPasswordForm

Inheritancefrontend\models\ResetPasswordForm » yii\base\Model

Password reset form

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$password frontend\models\ResetPasswordForm

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Creates a form model given a token. frontend\models\ResetPasswordForm
resetPassword() Resets password. frontend\models\ResetPasswordForm
rules() frontend\models\ResetPasswordForm

Property Details

$password public property
public $password null

Method Details

__construct() public method

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

resetPassword() public method

Resets password.

public boolean resetPassword ( )
return boolean

If password was reset.

rules() public method

public void rules ( )