开发者

Zend Framework: Highlight Current Link in menu

开发者 https://www.devze.com 2022-12-18 12:05 出处:网络
As stated in question title, is it possible in any way to highlight cur开发者_开发问答rent link in menu? Menu is pure HTML, created manually.

As stated in question title, is it possible in any way to highlight cur开发者_开发问答rent link in menu? Menu is pure HTML, created manually.

Sergio E.


I know how to do this. Using:

Zend_Controller_Front::getInstance()->getRequest()->getControllerName();

How to make this variable accessible in every controller? :)

0

精彩评论

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