title: Zend Controller Action Helper Problem not able to add helper
body: <p>Trying to make a controller helper to have similar functionality in some controllers using the preDispatch method.</p>
  
  <p>Error:</p>
  
  <pre><code>Fatal error: Class 'Helper_Action_Test' not found in /var/www/zend.dev/application/Bootstrap.php on line 9`
  </code></pre>
  
  <p>Application layout</p>
  
  <pre><code>/Application
   /Helpers
     **/Actions** this is where i will save the classes
     /Views
   /modules
   /configs
   /layouts
   /Bootstrap.php
  </code></pre>
  
  <p>In the Bootstrap I have added:</p>
  
  <pre><code>protected function _initActionHelpers(){
    Zend_Controller_Action_HelperBroker::addHelper(new Helper_Action_Test());
  }
  </code></pre>
  
  <p>In the helper file I have:</p>
  
  <pre><code>class Helper_Action_Test extends Zend_Controller_Action_Helper_Abstract{
  
      public function  preDispatch() {
         echo 'Test';
      }
  
  }
  </code></pre>
  
  <p>When I do this in the bootstap it works, it might have to do with the include or how I am trying to instantiate the new class with the addHelper();</p>
  
  <pre><code>    include(APPLICATION_PATH.'/helpers/action/Test.php');
      Zend_Controller_Action_HelperBroker::addHelper(new Test());
  </code></pre>
  
  <p>Any ideas?</p>