Home > Backend Development > PHP Tutorial > Zend Framework载入页头和页脚的有关问题

Zend Framework载入页头和页脚的有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:51:34
Original
876 people have browsed it

Zend Framework载入页头和页脚的问题
Zend Framework 我该如何载入页头和页脚呢?
因为页头和页脚是共用的,所以我应该放在哪里,用哪个类或函数载入,如何给页头页脚里的变量赋值..

求教.

先谢谢大家了。

------解决方案--------------------
Zend_Layout
------解决方案--------------------
把页头和页脚放views/scripts中,在layouts里用$this->render('你的页面')载入

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Framework Learning - Android Interface Framework!
From 1970-01-01 08:00:00
0
0
0
What framework?
From 1970-01-01 08:00:00
0
0
0
angular.js - Front-end framework choice?
From 1970-01-01 08:00:00
0
0
0
How about layui framework?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template