开发者

How to load Zend view

开发者 https://www.devze.com 2023-04-02 05:17 出处:网络
How can I load a header and a footer file in Zend开发者_运维百科 in a view? Where should I save them?

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

精彩评论

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