You could create a component to do this...

Inside the controller you load your models using loadModel function.

[]'s

On 30 out, 09:48, Cristian Vrabie <[EMAIL PROTECTED]> wrote:
> Hey guys,
> I'm in a sittuation where I need all my controllers to use a global
> model + their specific models. My ideea is to add in the  AppControler
> class the $uses = array( "myglobalmodel"); but then i don't know if this
> will stack with the default controller of every module (for example if i
> have the foo controller, this will automatically use both foo and
> myglobalmodel, or i have to write it manually?


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