PHP Class frontend\models\ChangePasswordForm

Inheritance: extends yii\base\Model
Mostrar archivo Open project: daixianceng/xiaoego.com Class Usage Examples

Public Properties

Property Type Description
$password
$passwordRepeat

Public Methods

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

Method Details

attributeLabels() public method

public attributeLabels ( )

change() public method

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

rules() public method

public rules ( )

validatePassword() public method

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