PHP 클래스 yii\web\UserEvent

부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends yii\base\Event
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$cookieBased whether the login is cookie-based. This property is only meaningful for [[User::EVENT_BEFORE_LOGIN]] and [[User::EVENT_AFTER_LOGIN]] events.
$duration integer number of seconds that the user can remain in logged-in status. If 0, it means login till the user closes the browser or the session is manually destroyed.
$identity the identity object associated with this event
$isValid whether the login or logout should proceed. Event handlers may modify this property to determine whether the login or logout should proceed. This property is only meaningful for [[User::EVENT_BEFORE_LOGIN]] and [[User::EVENT_BEFORE_LOGOUT]] events.

프로퍼티 상세

$cookieBased 공개적으로 프로퍼티

whether the login is cookie-based. This property is only meaningful for [[User::EVENT_BEFORE_LOGIN]] and [[User::EVENT_AFTER_LOGIN]] events.
public $cookieBased

$duration 공개적으로 프로퍼티

number of seconds that the user can remain in logged-in status. If 0, it means login till the user closes the browser or the session is manually destroyed.
public int $duration
리턴 integer

$identity 공개적으로 프로퍼티

the identity object associated with this event
public $identity

$isValid 공개적으로 프로퍼티

whether the login or logout should proceed. Event handlers may modify this property to determine whether the login or logout should proceed. This property is only meaningful for [[User::EVENT_BEFORE_LOGIN]] and [[User::EVENT_BEFORE_LOGOUT]] events.
public $isValid