I think this is not right! But let me tell you, how can I run another module from ADI Assistant? Or give me another way!
I have an API module, and that API module needs to run support with the requested parameter. Do you have any idea about it?
In an Action_Helper I try to apply this code:
need_once "../../modules/somemodule/controllers/SomeController .php"; $ Ctrl = new Monday moddes controller ($ request, $ response); $ Ctrl- & gt; Run ();
but get the error:
Fatal error: require_once (): Required to open the required '../../modules/somemodule/controllers/SomeController /path/to/helper/activation/php/ ( solution) If we ask a question
How is the controller running from another controller?
We got an answer =)
In the Action Helper $ that = $ this-> GetActionController (); $ That- & gt; Next ("some actions", "some controllers", "some modules", $ parameters);
If we ask on any other question
How is the controller running from another controller?
We have received an answer =)
In the Action Helper
$ that = $ it -> GetActionController (); $ That- & gt; Next ("some actions", "some controllers", "some modules", $ parameters);
No comments:
Post a Comment