Mage_Directory_Helper_Url Class Reference

Inheritance diagram for Mage_Directory_Helper_Url:

Mage_Core_Helper_Url Mage_Core_Helper_Abstract

List of all members.

Public Member Functions

 getSwitchCurrencyUrl ()
 getLoadRegionsUrl ()


Detailed Description

Directory URL helper

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file Url.php.


Member Function Documentation

getLoadRegionsUrl (  ) 

Definition at line 53 of file Url.php.

00054     {
00055 
00056     }

getSwitchCurrencyUrl (  ) 

Retrieve switch currency url

Returns:
string

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:07 2009 for Magento by  doxygen 1.5.8