开发者

Zend Framework: Highlight Current Link in menu

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜