/** * @inheritdoc */ public function behaviors() { return [['class' => MaterializedPathBehavior::className(), 'itemAttribute' => 'slug', 'treeAttribute' => 'tree']]; }
/** * @inheritdoc */ public function behaviors() { return [['class' => AdjacencyListBehavior::className(), 'sortable' => false], ['class' => MaterializedPathBehavior::className()]]; }
/** * @inheritdoc */ public function behaviors() { return [['class' => MaterializedPathBehavior::className()]]; }