public function init() { $this->attachUserClass(); $this->relationType = static::$relationSingle; $this->multiBlamesClass = FollowGroup::className(); parent::init(); }
public function actionIndex() { return $this->render('index', ['groups' => FollowGroup::findByIdentity()->all()]); }