RE: DB_NestedSet getBranch
| From: | Daniel Khan | Date: | Mon, 29 Sep 2003 08:07:41 +0000 |
| Subject: | RE: DB_NestedSet getBranch | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8109@lists.php.net to get a copy of this message | ||
Hello Arnaud,
[..]
> > Then getParents()/getChildren() should be the way to go.
>
> To do what i want i need the new getParent method :)
With the current versions you can use an array_pop on the getParents()
result to get
the immediate parent.
greetings
Damiel Khan