public function behaviors() { return [['class' => 'yii\\filters\\ContentNegotiator', 'formats' => ['application/json' => Response::FORMAT_JSON]], ['class' => SortableController::className(), 'model' => Photo::className()]]; }
public function behaviors() { return [['class' => SortableController::className(), 'model' => File::className()]]; }
public function behaviors() { return [['class' => SortableController::className(), 'model' => Category::className()], ['class' => StatusController::className(), 'model' => Category::className()]]; }
public function behaviors() { return [['class' => SortableController::className(), 'model' => ItemCarousel::className()], ['class' => StatusController::className(), 'model' => ItemCarousel::className()]]; }