RE: DB_NestedSet getBranch
| From: | Daniel Khan | Date: | Mon, 29 Sep 2003 07:33:52 +0000 |
| Subject: | RE: DB_NestedSet getBranch | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8107@lists.php.net to get a copy of this message | ||
Hello Arnaud,
> > - getSubBranch(id) returns all children of a node given by id.
> > This will show all replies to a post.
> > I think that's what you want.
>
> Not quite. I use to manage hierarchies of people. I want to
> show the parents (boss) and children (you are the boss of
> those people).
Then getParents()/getChildren() should be the way to go.
> Does the new version of NestedSet keep BC ?
Yes.
greetings
Daniel Khan