PHP 클래스 skeeks\cms\models\forms\PasswordChangeForm

상속: extends yii\base\Model
파일 보기 프로젝트 열기: skeeks-cms/cms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$new_password string
$new_password_confirm
$user skeeks\cms\models\User

공개 메소드들

메소드 설명
attributeLabels ( )
changePassword ( ) : boolean Logs in a user using the provided username and password.
rules ( )
scenarios ( )
validateNewPassword ( string $attribute, array $params ) Validates the password.

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( )

changePassword() 공개 메소드

Logs in a user using the provided username and password.
public changePassword ( ) : boolean
리턴 boolean whether the user is logged in successfully

rules() 공개 메소드

public rules ( )

scenarios() 공개 메소드

public scenarios ( )

validateNewPassword() 공개 메소드

This method serves as the inline validation for password.
public validateNewPassword ( string $attribute, array $params )
$attribute string the attribute currently being validated
$params array the additional name-value pairs given in the rule

프로퍼티 상세

$new_password 공개적으로 프로퍼티

public string $new_password
리턴 string

$new_password_confirm 공개적으로 프로퍼티

public $new_password_confirm

$user 공개적으로 프로퍼티

public User,skeeks\cms\models $user
리턴 skeeks\cms\models\User