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 =
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
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
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
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.
> >
>
-
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
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?
--~--~---