On Jul 12, 10:02 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for replying to my thread :)
>
> I've tried the following habtm relationship.  I get an interesting
> result.  As I'm sure you'll see in the array below the 'children'
> array doesn't have anything but the children are showing up just not
> in the right 'children' array for some reason.  Any ideas?

Well, as I said in my previous post a habtm will complicate things.

findAllThreaded will put children under parents if the parent_id field
matches the id of another result. In your case you have /no/ instance
with a parent_id set to anything, hence they are returned completely
flat.

hth,

AD
PS. No private mails please


--~--~---------~--~----~------------~-------~--~----~
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