*/ class Mage_Directory_Helper_Url extends Mage_Core_Helper_Url { /** * Retrieve switch currency url * * @param array $params Additional url params * @return string */ public function getSwitchCurrencyUrl($params = array()) { $params = is_array($params) ? $params : array(); if ($this->_getRequest()->getAlias('rewrite_request_path')) { $url = Mage::app()->getStore()->getBaseUrl() . $this->_getRequest()->getAlias('rewrite_request_path'); } else { $url = $this->getCurrentUrl(); } $params[Mage_Core_Controller_Front_Action::PARAM_NAME_URL_ENCODED] = Mage::helper('core')->urlEncode($url); return $this->_getUrl('directory/currency/switch', $params); } public function getLoadRegionsUrl() { } }