PHP 클래스 RainLab\User\Components\Session

상속: extends Cms\Classes\ComponentBase
파일 보기 프로젝트 열기: rainlab/user-plugin 1 사용 예제들

공개 메소드들

메소드 설명
componentDetails ( )
defineProperties ( )
getRedirectOptions ( )
onLogout ( ) Log out the user
onRun ( ) Executed when this component is bound to a page or layout.
user ( ) : RainLab\User\Models\User Returns the logged in user, if available, and touches the last seen timestamp.

메소드 상세

componentDetails() 공개 메소드

public componentDetails ( )

defineProperties() 공개 메소드

public defineProperties ( )

getRedirectOptions() 공개 메소드

public getRedirectOptions ( )

onLogout() 공개 메소드

Usage: Sign out With the optional redirect parameter: Sign out
public onLogout ( )

onRun() 공개 메소드

Executed when this component is bound to a page or layout.
public onRun ( )

user() 공개 메소드

Returns the logged in user, if available, and touches the last seen timestamp.
public user ( ) : RainLab\User\Models\User
리턴 RainLab\User\Models\User