开发者

run an action in all of pages

开发者 https://www.devze.com 2023-03-03 12:01 出处:网络
i need to show variables in part of layout(i know placeholder is useful!) but this variables assigning in actions of controller, so i need render of view be after action running and this variables wil

i need to show variables in part of layout(i know placeholder is useful!) but this variables assigning in actions of controller, so i need render of view be after action running and this variables will show in all of pages (开发者_运维技巧like menu but not exastly).

some of actions load with ajax!

what is your idea?! what is best way?


If I understand your question, Action Helpers might be what you are looking for. Take a look at the documentation http://framework.zend.com/manual/en/zend.controller.actionhelpers.html

0

精彩评论

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