Calling a plugins controller from within the main applications controller

2012-05-13 Thread DerekGardiner
I am trying to construct an application from various plugins. I would like to call a particular function that resides within a plugin from a main application controller. My plugin controller looks like this: ?php class PluginexampleAppController extends AppController { public function

Re: Calling a plugins controller from within the main applications controller

2012-05-13 Thread stork
1. Am I loading the plugin controller correctly? No. App::uses('PluginexampleAppController', 'Pluginexample.Controller'); 2. Am I calling the plugin controllers function correctly? 3. I have tried to use the request action, it also gives me an error - is there a better way to call the