PHP Class frontend\models\ResetPasswordForm

Inheritance: extends yii\base\Model
Show file Open project: yiisoft/yii2-app-advanced Class Usage Examples

Public Properties

Property Type Description
$password

Public Methods

Method Description
__construct ( string $token, array $config = [] ) Creates a form model given a token.
resetPassword ( ) : boolean Resets password.
rules ( )

Method Details

__construct() public method

Creates a form model given a token.
public __construct ( string $token, array $config = [] )
$token string
$config array name-value pairs that will be used to initialize the object properties

resetPassword() public method

Resets password.
public resetPassword ( ) : boolean
return boolean if password was reset.

rules() public method

public rules ( )

Property Details

$password public property

public $password