$currentUrl = $this->helper('core/url')->getCurrentUrl();
Метод, вызываемый в Mage / Core / Helper / Url.php
/**
* Retrieve current url
*
* @return string
*/
public function getCurrentUrl()
{
$request = Mage::app()->getRequest();
$url = $request->getScheme() . '://' . $request->getHttpHost() . $request->getServer('REQUEST_URI');
return $url;
// return $this->_getUrl('*/*/*', array('_current' => true, '_use_rewrite' => true));
}
Поскольку приведенное выше может вернуть более полный URL, а не URI, который вы могли быиспользуйте:
Mage::app()->getRequest()->getActionName();
и получите имя действия вызываемого действия контроллера.