(on Tuesday, 30 September 2008, 05:01 PM +0100):
> What is the most correct way of obtaining the current action name in a
> ViewHelper?
<? $action = Zend_Controller_Front::getInstance()->getRequest()->getActionName() ?>
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论