PHP Class RainLab\User\Components\Session

Inheritance: extends Cms\Classes\ComponentBase
Afficher le fichier Open project: rainlab/user-plugin Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

componentDetails() public méthode

public componentDetails ( )

defineProperties() public méthode

public defineProperties ( )

getRedirectOptions() public méthode

public getRedirectOptions ( )

onLogout() public méthode

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

onRun() public méthode

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

user() public méthode

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