Hello. I'm a beginner in CakePHP and have a question: I have two tables: Vendors (id, name) and Models (id, vendor_id, name). Could somebody tell me how to get in query result Vendors names and a number of their Model. Also I need sort result by Vendors names or by a number of Models. Now I'm using hasMany association and count Models in my controller.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
