public function behaviors() { return [['class' => \humhub\components\behaviors\PolymorphicRelation::className(), 'mustBeInstanceOf' => array(ContentActiveRecord::className())], ['class' => \humhub\components\behaviors\GUID::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()); }
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()); }