开发者

How to load Zend view

How can I load a header and a footer file in Zend开发者_运维百科 in a view?

  1. Where should I save them?
  2. Will I embed them with $this->render() in the view file?


You use Zend_Layout to include 'header' and 'footer' info. A layout specifies your entire page layout, included in this is the content from your view script.


take a look at the Zend_Layout Quick Start guide.

Note: start at the end of the article to get a quick overview (link).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜