Hi to all,

I'm currently getting stuck in to my first major CakePHP application.

I'm writing the search functionality, one of the requirements for
which is a unified search which can return different combinations of
models.

So, what I'd like to do is to be able to add models dynamically to the
controller, depending on the incoming action. I wanted to just modify
the 'uses' array in the relevant actions, but this doesn't work (I
presume all that stuff is constructor handled).

My questions are:

1. Is it possible to do this?
2. Is this a stupid idea?

Thanks for any tips,
Benjamin

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

Reply via email to