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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to