PHP 클래스 UserChangePassForm, gxc-cms

저자: Tuan Nguyen ([email protected])
상속: extends CFormModel
파일 보기 프로젝트 열기: nganhtuan63/gxc-cms

공개 프로퍼티들

프로퍼티 타입 설명
$new_password_1
$new_password_2
$old_password

공개 메소드들

메소드 설명
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.

메소드 상세

attributeLabels() 공개 메소드

Declares attribute labels.
public attributeLabels ( )

checkNewPass() 공개 메소드

Compare the two new password match or not
public checkNewPass ( array $attribute, array $params ) : boolean
$attribute array
$params array
리턴 boolean

checkOldPass() 공개 메소드

Check the old pass is Ok or not
public checkOldPass ( array $attribute, array $params ) : boolean
$attribute array
$params array
리턴 boolean

rules() 공개 메소드

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

프로퍼티 상세

$new_password_1 공개적으로 프로퍼티

public $new_password_1

$new_password_2 공개적으로 프로퍼티

public $new_password_2

$old_password 공개적으로 프로퍼티

public $old_password