You should take a look at Containable (I love it, along with Set::extract). You can specify what data to retrieve (for efficiency) and apply the type of condition you need i.e. there must be a PageSnippet attached.
HTH On Apr 7, 9:40 am, mattalexx <[email protected]> wrote: > Page is also attached to a bunch of other things. I want to grab a > page and everything else. > > On Apr 5, 11:39 pm, mscdex <[email protected]> wrote: > > > Why not also have PageSnippet belongs to Page? That way you can then > > just do a find on PageSnippet instead and get the associated Pages. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
