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

상속: extends yii\base\Model
파일 보기 프로젝트 열기: skeeks-cms/cms

공개 프로퍼티들

프로퍼티 타입 설명
$password
$rememberMe
$username

공개 메소드들

메소드 설명
getUser ( ) : User | null Finds user by [[username]]
login ( ) : boolean Logs in a user using the provided username and password.
rules ( )
validatePassword ( string $attribute, array $params ) Validates the password.

메소드 상세

getUser() 공개 메소드

Finds user by [[username]]
public getUser ( ) : User | null
리턴 skeeks\cms\models\User | null

login() 공개 메소드

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

rules() 공개 메소드

public rules ( )

validatePassword() 공개 메소드

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

프로퍼티 상세

$password 공개적으로 프로퍼티

public $password

$rememberMe 공개적으로 프로퍼티

public $rememberMe

$username 공개적으로 프로퍼티

public $username