Class humhub\modules\user\models\GroupUser

Inheritancehumhub\modules\user\models\GroupUser » humhub\components\ActiveRecord » yii\db\ActiveRecord
ImplementsSerializable

This is the model class for table "group_admin".

Public Methods

Hide inherited methods

MethodDescriptionDefined By
afterDelete() humhub\modules\user\models\GroupUser
afterSave() humhub\modules\user\models\GroupUser
attributeLabels() humhub\modules\user\models\GroupUser
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
getGroup() Returns all Group relation humhub\modules\user\models\GroupUser
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() Returns all User relation humhub\modules\user\models\GroupUser
rules() humhub\modules\user\models\GroupUser
scenarios() humhub\modules\user\models\GroupUser
serialize() Serializes attributes and oldAttributes of this record. humhub\components\ActiveRecord
tableName() humhub\modules\user\models\GroupUser
unserialize() Unserializes the given string, calls the init() function and sets the attributes and oldAttributes. humhub\components\ActiveRecord
validateGroupId() Validator for group field during registration humhub\modules\user\models\GroupUser

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
SCENARIO_REGISTRATION 'registration' humhub\modules\user\models\GroupUser

Method Details

afterDelete() public method

public void afterDelete ( )
afterSave() public method

public void afterSave ( $insert, $changedAttributes )
$insert
$changedAttributes
attributeLabels() public method

public void attributeLabels ( )
getGroup() public method

Returns all Group relation

public \yii\db\ActiveQuery getGroup ( )
getUser() public method

Returns all User relation

public \yii\db\ActiveQuery getUser ( )
rules() public method

public void rules ( )
scenarios() public method

public void scenarios ( )
tableName() public static method

public static void tableName ( )
validateGroupId() public method

Validator for group field during registration

public void validateGroupId ( )