ZF-11398: Model resource types not autoloading in application
I had a number of models and related classes (mappers and dbtables) in a module and followed the structure and 'namespace' convention so that the classes would be autoloaded without no configuration required (example, Module_Model_Name would discover the class located in application/modules/module/models/Name.php).
However, I decided to move some of the models to be directly under the application, as they are generic and would be needed across multiple modules. My configuration is set such that appnamespace = "Application"
I moved the models to application/models and renamed them using the form Application_Model_Name. Now, I just get 'class not found' errors from PHP - I've tried a number of 'fixes', including setting the resource types specifically in the application bootstrap as per http://framework.zend.com/manual/1.10/…, but no joy.
Can we have the application namespace work like the modules?