/** * @inheritDoc */ public function behaviors() { return ArrayHelper::merge(parent::behaviors(), ['verbs' => ['class' => VerbFilter::className(), 'actions' => ['exists' => ['POST']]]]); }
/** * @inheritDoc */ public function behaviors() { return ArrayHelper::merge(parent::behaviors(), [['class' => SortableController::className(), 'model' => ColTable::className(), 'ordercol' => 'sort_no']]); }