Class creocoder\nestedsets\NestedSetsQueryBehavior

Inheritancecreocoder\nestedsets\NestedSetsQueryBehavior » yii\base\Behavior

NestedSetsQueryBehavior

Public Methods

Hide inherited methods

MethodDescriptionDefined By
leaves() Gets the leaf nodes. creocoder\nestedsets\NestedSetsQueryBehavior
roots() Gets the root nodes. creocoder\nestedsets\NestedSetsQueryBehavior

Method Details

leaves() public method

Gets the leaf nodes.

public \yii\db\ActiveQuery leaves ( )
return \yii\db\ActiveQuery

The owner

roots() public method

Gets the root nodes.

public \yii\db\ActiveQuery roots ( )
return \yii\db\ActiveQuery

The owner