I need to add the table prefix to the finderQuery param in the HABTM declaration, the problem is that I don't know this table prefix beacuse the user can modify it and can't add a 'SELECT * FROM '.$this- >tablePrefix.'table', for example, in the declaration.
I have added it to the model constructor (__construc()) with bindModel() and works but, is there a better way? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---