PHP Class WebUser

Inheritance: extends Eloquent
ファイルを表示 Open project: crisu83/yii-app Class Usage Examples

Protected Properties

Property Type Description
$_model

Public Methods

Method 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 method

public getId ( )

init() public method

public init ( )

loadModel() public method

Loads the user model for the logged in user.
public loadModel ( ) : User
return User the model.

updateLastActiveAt() public method

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

updateLastLoginAt() public method

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

Property Details

$_model protected_oe property

protected $_model