How can I load a header and a footer file in Zend开发者_运维百科 in a view?
- Where should I save them?
- 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).
精彩评论