G'day all, I've written a telco billing system using CakePHP (which made life very easy! Hooray for Cake!) and I have run into an issue while writing some reports.
I have customers A Customer hasMany ServiceNumbers A ServiceNumber hasMany CallRecords The problem is that I don't want ALL the CallRecords. I just want the records for one month. How can I find a customer, with associated data, while adding a WHERE criteria to the CallRecords? Do I have to use bindModel in the controller (gasp!) and put the criteria in there? Any hints would be appreciated Thanks Matt Waite --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
