Пример #1
0
 public function behaviors()
 {
     return [['class' => \humhub\components\behaviors\PolymorphicRelation::className(), 'mustBeInstanceOf' => array(ContentActiveRecord::className())], ['class' => \humhub\components\behaviors\GUID::className()]];
 }
Пример #2
0
 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());
 }
Пример #3
0
 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());
 }