Home > Backend Development > PHP Tutorial > zend framework 菜单有关问题

zend framework 菜单有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:31:37
Original
1041 people have browsed it

zend framework 菜单问题
每个controller都有不同的菜单,是不是在每个controller的每个action 里都要添加一段菜单显示的代码?
还是要怎么处理?

------解决方案--------------------
你把菜单写成helper,在页面里调用就可以了
------解决方案--------------------
helepr能助你一臂之力
http://blog.csdn.net/mengxiangbaidu/article/details/7345108

Related labels:
source:php.cn
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 Issues
Controller does not exist: app\controller\Test
From 1970-01-01 08:00:00
0
0
0
Controller touch?
From 1970-01-01 08:00:00
0
0
0
AngularJS via controller A to controller B
From 1970-01-01 08:00:00
0
0
0
Imitate $this->show() in TP5 Controller
From 1970-01-01 08:00:00
0
0
0
ControllerClass 'think\Controller' not found in
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template