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