Re: Pear::Tree - Questions and feature requests
| From: | Lorenzo Alberton | Date: | Mon, 21 Jul 2003 07:00:35 +0000 |
| Subject: | Re: Pear::Tree - Questions and feature requests | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18474@lists.php.net to get a copy of this message | ||
On Mon, 21 Jul 2003 01:18:39 +0100, Simon H wrote:
> Hi there
>
> I'm getting to really like this class but I have a few requests,
> some which may already be in there...
>
> 1. getNestedTreeArray($root) method - producing a nested array of
> elements based on parent l and r for positioning. (is this possible
> already?
have you tried with function getAllChildren()?
> 2. Pear::MDB support
I sent some changes to Wolfram to implement this,
but he's really busy ATM and can't evaluate them,
so please wait a little :-)
> 3. selectAddon - whereAddon allows SQL after
> the WHERE, select could be in the select?
do you mean subselects? They *should* be possible,
but of course the db backend must support them.
Best regards,
Lorenzo