示例#1
0
 public function behaviors()
 {
     return [NestedSetQuery::className()];
 }
 public function behaviors()
 {
     return [array_merge(['class' => NestedSetQuery::className()], $this->nestedSetParams)];
 }