Re: DB_NestedSet getBranch
| From: | Arnaud Limbourg | Date: | Mon, 29 Sep 2003 07:58:39 +0000 |
| Subject: | Re: DB_NestedSet getBranch | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8108@lists.php.net to get a copy of this message | ||
Hello Arnaud,To do what i want i need the new getParent method :)Then getParents()/getChildren() should be the way to go.- 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).
Great. I'll test it :) Arnaud.Does the new version of NestedSet keep BC ?Yes.