Miguel Vieira schrieb:
> Nobody can tell me an example of a bootstrap to the new version of Zend
> Framework, I wanted an example for multiple modules (Admin, Auth and
> default) ... and multiple layouts ... my problem is application.ini ..
You dont say very much about your problem, but I have an idea ;) You
want different Layouts for every (or some) modules? With Bootstrap that
is not possible, because there is no knowlegde about the current module
at this time. You can retrieve the current module name, when the router
routes the current request, but that is far to late for the bootstrap.
Use a FrontController-Plugin (at routeShutdown()-hook) for this. The
bootstrap-process is finished, before any part of the application is
started.
> Saudações Cordiais,
> Miguel Vieira
> IT ANALYST
--
Sebastian Krebs
http://www.kingcrunch2000.de
PGP key http://kingcrunch2000.de/public/0x44291B2B-pub.asc
没有评论:
发表评论