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