Class humhub\modules\user\models\Session

Inheritancehumhub\modules\user\models\Session » humhub\components\ActiveRecord » yii\db\ActiveRecord
Available since version0.5

This is the model class for table "user_http_session".

The followings are the available columns in table 'user_http_session':

Public Methods

Hide inherited methods

MethodDescriptionDefined By
beforeSave() humhub\components\ActiveRecord
getCreatedBy() Relation to User defined in created_by attribute humhub\components\ActiveRecord
getErrorMessage() Returns the errors as string for all attribute or a single attribute. humhub\components\ActiveRecord
getFileManager() Returns the file manager for this record humhub\components\ActiveRecord
getUniqueId() Returns a unique id for this record/model humhub\components\ActiveRecord
getUpdatedBy() Relation to User defined in updated_by attribute humhub\components\ActiveRecord
getUser() humhub\modules\user\models\Session
serialize() Serializes attributes and oldAttributes of this record. humhub\components\ActiveRecord
tableName() humhub\modules\user\models\Session
unserialize() Unserializes the given string, calls the init() function and sets the attributes and oldAttributes. humhub\components\ActiveRecord

Method Details

getUser() public method

public void getUser ( )
tableName() public static method

public static string tableName ( )
return string

The associated database table name