Using views in Zend Framework views

WBOY
Release: 2016-07-29 09:14:00
Original
1396 people have browsed it

  1. PUBLIC"-//W3C//DTDXHTML1.0Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/ xhtml1-strict.dtd">
  3. "text/html;charset=utf-8"
  4. />echo
  5. $this
  6. ->headTitle(
  7. 'Use view in view'
  8. ; echo$this->headLink();?>
  9. < ;h1>This is a Examples of using views in views
  10. 'header'"background-color:yellow;clear:both;"
  11. >
  12. < ?php
  13. echo$this
  14. ->partial('header.phtml'
  15. );?>
' lfetside'"background-color: red; float: left; width: 200px"
  • > =' content'"background-color:gray;float:left;width:600px;margin-left:6px">
  • echo$this
  • -> ;layout()->content;?>
  • 'footer'
  • "background-color:yellow;clear:both; "
  • >
  • echo$this->partial('footer.phtml'
  • );?>
  • Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission. The above introduces the use of views in Zend Framework views, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.
  • Related labels:
    source:php.cn
    Previous article:nginx image caching and anti-leeching Next article:How dependent are we on technology? Why do programmers care about it? —Brothers IT Education
    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 Articles by Author
    Latest Issues
    Related Topics
    More>
    Popular Recommendations
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template