On Dec 13, 1:46 pm, AJ <[EMAIL PROTECTED]> wrote:
> > Youd be better off IMO getting familiar with and using the tree
> > behavior though
>
> Actually, I am. Rather, that model is set up for it. I use
> generateTreeList other places for dropdowns, but didn't think I could
> have it generate an unordered list. So far I can't see how to use the
> tree behavior to just give me a hierarchal array like that.
>
> If that's possible, I'd certainly prefer it, but might need a couple
> pointers.

Something to play with: http://bin.cakephp.org/view/375925194
$data would be flat findAll sorted by lft.

hth,

AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to