PHP Class UserChangePassForm, gxc-cms

Author: Tuan Nguyen ([email protected])
Inheritance: extends CFormModel
Afficher le fichier Open project: nganhtuan63/gxc-cms

Méthodes publiques

Свойство Type Description
$new_password_1
$new_password_2
$old_password

Méthodes publiques

Méthode Description
attributeLabels ( ) Declares attribute labels.
checkNewPass ( array $attribute, array $params ) : boolean Compare the two new password match or not
checkOldPass ( array $attribute, array $params ) : boolean Check the old pass is Ok or not
rules ( ) Declares the validation rules.

Method Details

attributeLabels() public méthode

Declares attribute labels.
public attributeLabels ( )

checkNewPass() public méthode

Compare the two new password match or not
public checkNewPass ( array $attribute, array $params ) : boolean
$attribute array
$params array
Résultat boolean

checkOldPass() public méthode

Check the old pass is Ok or not
public checkOldPass ( array $attribute, array $params ) : boolean
$attribute array
$params array
Résultat boolean

rules() public méthode

The rules state that username and password are required, and password needs to be authenticated.
public rules ( )

Property Details

$new_password_1 public_oe property

public $new_password_1

$new_password_2 public_oe property

public $new_password_2

$old_password public_oe property

public $old_password