Hello,

I have an controller with a model and no table and want to access
other controllers and their models from it. This controller doesn't
have any relation to these other controllers. Like so

public function generate()
{
  /* access other controllers and gather data */
}

I tried using uses[] but I only got the models. If I try and import
the controller via App::import I don't get the models with the
controller and it feels a bit wrong.

Is there a nice way to do such a thing?
I want to access from one controller several other controllers methods
which then access their models. Or is it better to just leave the
other controllers alone and focus on the one big controller which uses
several models?

best regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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