Errors using DB_NestedSet_TreeMenu with getSubBranch
| From: | Konrad Riedel | Date: | Tue, 17 Feb 2004 06:37:11 +0000 |
| Subject: | Errors using DB_NestedSet_TreeMenu with getSubBranch | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10739@lists.php.net to get a copy of this message | ||
Hi there,
We need to use getSubBranch() to show a TreeMenu.
But the output of getSubBranch() isn't ordered by level,
which is required by function &_createFromStructure($params) in
NestedSet/TreeMenu.php.
And so 2 nodes of level 4 are shown at level 2.
Where should I spend my day? sorting output by level?
changing &_createFromStructure ?
Any hints are appreciated.
Regards,
Mit freundlichen Grüßen
Konrad Riedel