On Apr 4, 2007, at 2:24 PM, Chris Hartjes wrote:
> > On 4/4/07, codingisfun <[EMAIL PROTECTED]> wrote: >> >> Does somebody has some kind of recipe for a model / controller / view >> for a database table with a self-join ( table , id, parent_id)? I >> found some discussions about how to code the model. But i do not see >> the complete picture in combination with the controller and views. >> >> Thank you > > I'm confused by what you mean when you say 'self-join'. What is it > that you're trying to accomplish? I know that the manual has a good > section in Models about dealing with join tables starting with > 'Defining and Querying with hasAndBelongsToMany'. (Self joins need not always be HABTM) -- John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
