PHP Класс RainLab\User\Components\Session

Наследование: extends Cms\Classes\ComponentBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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