/** * @inheritdoc */ public function behaviors() { $arr = parent::behaviors(); $arr["manyManySaver"] = ['class' => \common\behaviors\ManyManySaver::className(), 'names' => ['includes']]; $arr["matchSuitable"] = \common\behaviors\MatchSuitable::className(); return $arr; }
/** * @inheritdoc */ public function behaviors() { $arr = parent::behaviors(); $arr["manyManySaver"] = ['class' => \common\behaviors\ManyManySaver::className(), 'names' => ['sections']]; return $arr; }