Using views in Zend Framework views
Release: 2016-07-29 09:14:00
Original
1340 people have browsed it
- PUBLIC"-//W3C//DTDXHTML1.0Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/ xhtml1-strict.dtd">
- "text/html;charset=utf-8"
- />
echo
$this
- ->headTitle(
'Use view in view'
- ; echo$this->headLink();?>
-
- < ;h1>This is a Examples of using views in views
-
'header'
"background-color:yellow;clear:both;"
>
< ?php
- echo$this
- ->partial('header.phtml'
- );?>
' 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.
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
-
2024-09-01 00:49:15
-
2024-09-01 00:43:15
-
2024-09-01 00:41:14
-
2024-09-01 00:39:14
-
2024-09-01 00:38:15
-
2024-09-01 00:36:15
-
2024-09-01 00:35:15
-
2024-09-01 00:33:15
-
2024-09-01 00:32:15
-
2024-09-01 00:30:14