PHP Class WebUser

Inheritance: extends Eloquent
Afficher le fichier Open project: crisu83/yii-app Class Usage Examples

Protected Properties

Свойство Type Description
$_model

Méthodes publiques

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

Method Details

getId() public méthode

public getId ( )

init() public méthode

public init ( )

loadModel() public méthode

Loads the user model for the logged in user.
public loadModel ( ) : User
Résultat User the model.

updateLastActiveAt() public méthode

Updates the users last active at field.
public updateLastActiveAt ( ) : boolean
Résultat boolean whether the update was successful.

updateLastLoginAt() public méthode

Updates the users last login at field.
public updateLastLoginAt ( ) : boolean
Résultat boolean whether the update was successful.

Property Details

$_model protected_oe property

protected $_model