2009年4月29日星期三

Re: [fw-db] Models in Modular Application

Cristian Bichis schrieb:
> Ok, i found out why the modules bootstrappes are called.
>
> Seems order of calling is:
> - app bootstrap
> - modules bootstrap
>
> So if we use a module resource Admin_Model_BlaBla by example on app
> bootstrap obviously the application is failing...

I hope, I understand.
If you want to use something in application bootstrap, that is
initialized in a module bootstrap, you can bootstrap the modules-resources.
$this->bootstrap('modules');
It will initialize all module bootstraps including the resource loaders.

--
Sebastian Krebs
http://www.kingcrunch2000.de
PGP public key for encryption
http://kingcrunch2000.de/public/0x44291B2B-pub.asc

没有评论: