@wisecounselor > never mind, sorry to bother you, knew this was a waste of time
Um, AD7six answered your question later on in his post. That is why he asked you if you'd continued reading... On Aug 25, 7:49 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > never mind, sorry to bother you, knew this was a waste of time. > > On Aug 25, 1:18 pm, AD7six <[EMAIL PROTECTED]> wrote: > > > On Aug 25, 8:13 pm, "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> wrote: > > > sorry, I think I follow, maybe more specific objects will help, I have > > > > Patient -> Diet Plans -> Diet Calendar Day > > > > So Patient hasMany diet plans with each Diet Plan having many Diet > > > Calendar Days > > > > I need to draw a screen of all patients and loop through 2 weeks of > > > the calendar, filling in details of each day for each patient, but I > > > need to be able to filter this at times by Patient last name, > > > sometimes by a field in Diet Calendar Days and other times in a field > > > in the Diet Plan. So they way I have it, I can't do Patient- > > > > >find('all',array('condition' => 'DietPlan.active' => 1)); > > > > or > > > > Patient->find('all',array('condition' => 'DietPlanDay.exception' => > > > 1)); > > > Did you stop reading at "why the abstract names?" ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---