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