Following problem: I want to create an filter for ouputting me choosen data.. For example: I have an customer, every customer has many contact persons and every contact person has many special functions.. Ok, lets look at the tables, which are: customer, contacts and functions. The relations are customer->contacts (1:n), contacts->functions (n:m) the contacts and functions are connected with an hasandbelongto-connection..
How can i get every customers which has contacts with an special function (func_id). I tried it with something like this: $this->Customer->generateList(Function.id like #value#); but it didn't work.. By the way: This is a example for using this filter, it should be use with different connection-types.. can you help me? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
