Re: DB_NestedSet getBranch

From: 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,
- 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.
To do what i want i need the new getParent method :)
Does the new version of NestedSet keep BC ?
Yes.
Great. I'll test it :) Arnaud.

« previous php.pear.general (#8108) next »