Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
entity_hierarchy-3283504
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
entity_hierarchy-3283504
Commits
d7185534
Unverified
Commit
d7185534
authored
4 years ago
by
Jibran Ijaz
Committed by
Lee Rowlands
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3203047
by jibran: Document proxy methods in NestedSetStorage
parent
edeb90ff
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Storage/NestedSetStorage.php
+20
-0
20 additions, 0 deletions
src/Storage/NestedSetStorage.php
with
20 additions
and
0 deletions
src/Storage/NestedSetStorage.php
+
20
−
0
View file @
d7185534
...
...
@@ -9,6 +9,26 @@ use Psr\Log\LoggerInterface;
/**
* Wraps the library nested set implementation with JIT table creation.
*
* @method \PNX\NestedSet\Node addRootNode(\PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node addNodeBelow(\PNX\NestedSet\Node $target, \PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node addNodeBefore(\PNX\NestedSet\Node $target, \PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node addNodeAfter(\PNX\NestedSet\Node $target, \PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node[] findDescendants(\PNX\NestedSet\NodeKey $nodeKey, int $depth = 0, int $start = 1)
* @method \PNX\NestedSet\Node[] findChildren(\PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node getNode(\PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node[] findAncestors(\PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node findRoot(\PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node findParent(\PNX\NestedSet\NodeKey $nodeKey)
* @method \PNX\NestedSet\Node[] getTree()
* @method void deleteNode(\PNX\NestedSet\Node $node)
* @method void deleteSubTree(\PNX\NestedSet\Node $node)
* @method void moveSubTreeToRoot(\PNX\NestedSet\Node $node)
* @method void moveSubTreeBelow(\PNX\NestedSet\Node $target, \PNX\NestedSet\Node $node)
* @method void moveSubTreeBefore(\PNX\NestedSet\Node $target, \PNX\NestedSet\Node $node)
* @method void moveSubTreeAfter(\PNX\NestedSet\Node $target, \PNX\NestedSet\Node $node)
* @method void adoptChildren(\PNX\NestedSet\Node $oldParent, \PNX\NestedSet\Node $newParent)
* @method \PNX\NestedSet\Node getNodeAtPosition(int $left)
*/
class
NestedSetStorage
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment