/**
  * @inheritDoc
  */
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), ['sort' => ['class' => SortQueryBehavior::class]]);
 }
Beispiel #2
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), [NestedSetsQueryBehavior::className()]);
 }