Created
April 20, 2017 07:14
-
-
Save insaurabh/d70bcd1ff00ee31f676553e2e51ccb99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Under every function there is an example of the output value: | |
Output : http://example.com/ | |
<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); ?> | |
Output : http://example.com/js/ | |
<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS); ?> | |
Output : http://example.com/index.php/ | |
<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK); ?> | |
Output : http://example.com/media/ | |
<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA); ?> | |
Output : http://example.com/skin/ | |
<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment