Tag: retrieve urls in magento

  • Retrieving all URL paths in Magento

    Magento comes with built in function for retrieving URL paths. Function is called getBaseUrl() and its located under Mage class. However, function is not documented as it should be. Documentation only states that function retrieves $type parametar which is by default equal to “base”. Here is the list of all the available parameters I found.…