Hi.

I have a problem with the Model Resource Autoloader.

I need to activate all module autoloaders applicationwide, so I have to do
it in the apllication Bootstrap.

In my bootstrap I do this:

        $helper = new Crevo_Zend_Helper_General();
        $autoloader = Zend_Loader_Autoloader::getInstance();
        
        foreach ( $helper->getModuleList(APPLICATION_PATH . '/modules', true) as
$module => $dir )
        {
          $loader = new Zend_Application_Module_Autoloader(array(
                'namespace' => $module,
                'basePath'  => $dir,
      ));
      
      $autoloader->pushAutoloader($loader);

This executes fine, but the module autoloaders do not work.

Anything I'm missing?

Also, how can I prevent the module Bootstraps from calling
$this->initResourceLoader(); again?



Help appreciated
-- 
View this message in context: 
http://n4.nabble.com/Module-Autoloader-Issue-tp1354954p1354954.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to