Get adminhtml url
echo Mage::helper("adminhtml")->getUrl("/vendorname_modulename/controllername/",array("param1" => $value1)); echo Mage::helper("adminhtml")->getUrl("/vendorname_modulename/controllername/");
echo Mage::helper("adminhtml")->getUrl("/vendorname_modulename/controllername/",array("param1" => $value1)); echo Mage::helper("adminhtml")->getUrl("/vendorname_modulename/controllername/");
$website_id = Mage::app()->getWebsite()->getId();
$store_id = Mage::app()->getStore()->getId();
$store_id = Mage::app()->getStore($storeCode)->getId(); $store_id = Mage::getModel("core/store")->load($storeCode, "code");