title: How to run a controller from a helper. Zend Framework 1.12
body: <p>I understand that this isn't true way!
  But tell me, how can I run other module->controller from action helper?
  Or give me other way!</p>
  
  <p>I have an api module, and need run that api module from helper with prepared request params.
  Do you have any thoughts about this?</p>
  
  <p>Into an Action_Helper I try to apply this code:</p>
  
  <pre><code>require_once "../../modules/somemodule/controllers/SomeController.php";
  $ctrl = new Somemodule_SomeController($request, $response);
  $ctrl-&gt;run();
  </code></pre>
  
  <p>But get error:</p>
  
  <pre><code>Fatal error:  require_once(): Failed opening required '../../modules/somemodule/controllers/SomeController.php' (include_path='..') in /path/to/helper/action
  </code></pre>
  
  <p><strong>SOLUTION</strong></p>
  
  <p>If we ask a question on another</p>
  
  <blockquote>
    <p>How to run a controller from another controller?</p>
  </blockquote>
  
  <p>We've got an answer =)<br>
  Into an Action Helper</p>
  
  <pre><code>$that = $this-&gt;getActionController();
  $that-&gt;forward("someAction", "someController", "someModule", $params);
  </code></pre>