PHP Класс WebUser

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

Защищенные свойства (Protected)

Свойство Тип Описание
$_model

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

Метод Описание
getId ( )
init ( )
loadModel ( ) : User Loads the user model for the logged in user.
updateLastActiveAt ( ) : boolean Updates the users last active at field.
updateLastLoginAt ( ) : boolean Updates the users last login at field.

Описание методов

getId() публичный Метод

public getId ( )

init() публичный Метод

public init ( )

loadModel() публичный Метод

Loads the user model for the logged in user.
public loadModel ( ) : User
Результат User the model.

updateLastActiveAt() публичный Метод

Updates the users last active at field.
public updateLastActiveAt ( ) : boolean
Результат boolean whether the update was successful.

updateLastLoginAt() публичный Метод

Updates the users last login at field.
public updateLastLoginAt ( ) : boolean
Результат boolean whether the update was successful.

Описание свойств

$_model защищенное свойство

protected $_model