magento------取得URL参数

1
在controller中
继承Mage_Adminhtml_Controller_Action
则使用
$this->getRequest()->getParam('id');
可以到得到id传过来的值。
2
Mage::app()->getFrontController()->getRequest()->getParam('id');

你可能感兴趣的:(magento------取得URL参数)