Nested sets behavior API reference
Ta treść nie jest jeszcze dostępna w Twoim języku.
API reference › Nested sets behavior
Classes, interfaces, traits and enums of yii2\extensions\nestedsets, generated from the PHPDoc of yii2-extensions/nested-sets-behavior at main. Machine-readable catalog: nested-sets-behavior.json.
Namespaces
Section titled “Namespaces”| Namespace | Types |
|---|---|
yii2\ | 1 |
Classes
Section titled “Classes”| Class | Summary |
|---|---|
NestedSetsBehavior | Manages hierarchical data in ActiveRecord models using the nested sets pattern. |
NestedSetsQueryBehavior | Adds root and leaf queries to an ActiveQuery whose model is managed by NestedSetsBehavior. |
NodeContext final readonly | Represents the immutable target position and depth offset of a node insertion or move relative to a target node. |
QueryConditionBuilder final | Builds Yii condition arrays and offset expressions for nested set queries and bulk coordinate updates. |
TreeLock final | Serializes the writers of one physical table through a row of the nested_sets_lock registry, held until the outermost transaction commits or rolls back. |