PHP Class frontend\models\ChangePasswordForm

Inheritance: extends yii\base\Model
Afficher le fichier Open project: daixianceng/xiaoego.com Class Usage Examples

Méthodes publiques

Свойство Type Description
$password
$passwordRepeat

Méthodes publiques

Méthode Description
attributeLabels ( )
change ( $runValidation = true ) : boolean Resets password.
rules ( )
validatePassword ( string $attribute, array $params ) Validates the password.

Method Details

attributeLabels() public méthode

public attributeLabels ( )

change() public méthode

Resets password.
public change ( $runValidation = true ) : boolean
Résultat boolean if password was reset.

rules() public méthode

public rules ( )

validatePassword() public méthode

This method serves as the inline validation for 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

Property Details

$password public_oe property

public $password

$passwordRepeat public_oe property

public $passwordRepeat