If you put
---
$uses = array( "myglobalmodel");
---
in your AppController, the you can use
---
$this->myglobalmodel->BLABLABLA
---
in a
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
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