i have 3 modules in my application , like following sturcture
application
|
default
|---models
|--views
|--forms
|--controller
admin
|---models
|--views
|--forms
|--controller
cars
|---models
|--views
|--forms
|--controller
bootstrap.php
how could i create autoloader for all forms and models in mouldes?
thanks?
You just need module autoloader.
In
application.ini:Then create a bootstrap file in each module:
Autoloader will be automatically configured.
If you need further customization, take a look at:
$this->getResourceLoader();in this module bootstrap.More information about bootstraping modules:
http://weierophinney.net/matthew/archives/234-Module-Bootstraps-in-Zend-Framework-Dos-and-Donts.html