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