Re: recursive = 3

2007-11-24 Thread neromir
Apologies, accidentally posted before I was ready. Corrections to the relationships are as follows: In Paragraph: var $hasMany = array("Note" => array( 'className' => 'Note', 'order' => 'Note.word ASC', 'conditions' => 'Note.user_id =

Re: recursive = 3

2007-11-24 Thread neromir
I'm having a similar problem. I have a system in which there are books, chapters, pages, and paragraphs. A paragraph can have a note attached to it made by a user. The relationships are set up so that a note model belongsTo users and paragraphs, paragraph belongsTo page and hasMany notes, page

Re: recursive = 3

2007-11-21 Thread wluigi
l and HABTM relate them > Then create a Third mode and HABTM relate it to the second one. > > On the first model, set recursive = 3 and do a find. Note how data > from the third model is not there. --~--~-~--~~~---~--~~ You received this message because yo

Re: recursive = 3

2007-11-20 Thread rtconner
Uhm.. Creata Model Create a second model and HABTM relate them Then create a Third mode and HABTM relate it to the second one. On the first model, set recursive = 3 and do a find. Note how data from the third model is not there. --~--~-~--~~~---~--~~ You received

Re: recursive = 3

2007-11-20 Thread Pablo Viojo
Details please! -- Pablo Viojo [EMAIL PROTECTED] http://pviojo.net On Nov 20, 2007 4:35 PM, rtconner <[EMAIL PROTECTED]> wrote: > > No one else has ever had this problem? Odd. Three people in my office > have come across this same thing. None of us could find a cake way to > solve it. > > > -

Re: recursive = 3

2007-11-20 Thread rtconner
No one else has ever had this problem? Odd. Three people in my office have come across this same thing. None of us could find a cake way to solve it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. T

recursive = 3

2007-11-16 Thread rtconner
Why does this not pull the related HABTM data of a HABTM relation? Recursive = 4 or 5 or 6 or whatever does not help. This is really sticking in my craw. Right now I have to loop through the related HABTM relation and for each one find its HABTM related items. Is this the only way? --~--~---