Search This Blog

Monday, 19 November 2012

Magento: Get current Module Name, Controller Name and Action Name

$req = Mage::app()->getRequest();
$req->getModuleName();
$req->getControllerName();
$req->getActionName();

No comments:

Post a Comment