1
我的Zend的应用程序结构:设置布局文件模块内引导在Zend的
application
->configs
->layouts
->scripts
->admin.phtml
->site.phtml
->modules
->admin(controllers, models, views)
->Bootstrap.php
->default(controller,models,views)
->Bootstrap.php
我在我的application.ini设置默认布局:
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
resources.layout.layout = "site"
我有两个模块:管理和默认。如何为管理模块设置布局文件(admin.phtml)?我想从管理模块的Bootstrap.php文件更改布局? 或者建议我哪一种最简单的方法?