2009年4月8日星期三

Re: [fw-mvc] Autoloading module resources with 1.8 Preview

Ok, so it's not possible to auto-load modules resources without making a
bootstrap for each of modules ?
> Two things:
>
> * First, extend Zend_Application_Module_Bootstrap in your module
> bootstraps. Part of instantiation includes registering a module
> autoloader for that module.
>
> * Second, use the Modules resource plugin with your application
> bootstrap. This will search through your module directories for
> bootstraps and initialize them if found.
>
> I'll be getting a full example up soon to make this more clear.
>
>


--
Best regards,
Cristian Bichis
www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

没有评论: