public function behaviors() { return array(\humhub\components\behaviors\GUID::className(), \humhub\modules\space\behaviors\SpaceSetting::className(), \humhub\modules\space\behaviors\SpaceModelModules::className(), \humhub\modules\space\behaviors\SpaceModelMembership::className(), \humhub\modules\user\behaviors\Followable::className()); }
public function behaviors() { return array(\humhub\components\behaviors\GUID::className(), \humhub\modules\content\components\behaviors\SettingsBehavior::className(), \humhub\modules\user\behaviors\Followable::className(), \humhub\modules\user\behaviors\UserModelModules::className()); }
/** * @inheritdoc */ public function init() { parent::init(); $this->attachBehavior('FollowableBehavior', \humhub\modules\user\behaviors\Followable::className()); }