you should look at the bindModel stuff

cake baker as a little bit about it here http://cakebaker.wordpress.com/2006/02/22/new-feature-bindmodelunbindmodel/

Sam D

On 7/23/06, francky06l <[EMAIL PROTECTED]> wrote:

Thanks,

The problem is that the condition changes depending of the user role
(in my case), so I can't stick it into the model relation. I can do
this using the bindModel on the fly, but even so I can;t succeed.
Basically I will have to write the SQL query ..

I will try to find better way ... but apparently not possible using the
Cake query method.



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

Reply via email to