', $data); } } } public function getCssFromController($path, $params=array()){ $stores = Mage::app()->getStores(); foreach ($stores as $store){ $params = array_merge($params, array('_store' => $store->getId())); if (Mage::getStoreConfigFlag('web/secure/use_in_adminhtml')){ $params['_forced_secure'] = true; } return Mage::getUrl($path, $params); break; } } public function getFrontendUrl($path, $params=array()){ return $this->getCssFromController($path, $params); } }