Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 ZendSkeletonApplication 上创建了一个新模块但是当我删除模块“应用程序”时出现错误,因为新模块视图依赖于“应用程序”中的“layout.phtml”文件,我该如何删除这种依赖关系?
我们经常将所有视图逻辑从 Application 文件移动到一个名为 Template 的模块中。您使用的任何 3rd 方模块都可以有模板,我们将所有模板(布局 + 3rd 方覆盖的视图脚本)合并到一个模板模块中。