Public Member Functions | |
getSwitchCurrencyUrl () | |
getLoadRegionsUrl () |
Definition at line 32 of file Url.php.
getSwitchCurrencyUrl | ( | ) |
Retrieve switch currency url
Definition at line 39 of file Url.php.
00040 { 00041 if ($this->_getRequest()->getAlias('rewrite_request_path')) { 00042 $url = Mage::app()->getStore()->getBaseUrl() . $this->_getRequest()->getAlias('rewrite_request_path'); 00043 } 00044 else { 00045 $url = $this->getCurrentUrl(); 00046 } 00047 $params = array( 00048 Mage_Core_Controller_Front_Action::PARAM_NAME_URL_ENCODED => Mage::helper('core')->urlEncode($url) 00049 ); 00050 return $this->_getUrl('directory/currency/switch', $params); 00051 }