예제 #1
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());
 }
예제 #2
0
파일: User.php 프로젝트: kreativmind/humhub
 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
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     $this->attachBehavior('FollowableBehavior', \humhub\modules\user\behaviors\Followable::className());
 }