fbpx

What are the common methods with which the framework accesses its configuration values and areas?

Q. What are the common methods with which the framework accesses its configuration values and areas?

getStoreConfig(), getStoreConfigFlag(),
$enable = Mage::getStoreConfig(‘socialrecommend/general/enable’,’default’);
$enable = Mage::app()->getStore()-> getConfig(‘socialrecommend/general/enable’);
$enable = Mage::getConfig()-> getNode(‘socialrecommend/general/enable’,’store’,’default’);
$enable = Mage::getConfig()-> getNode(‘stores/default/socialrecommend/general/enable’);

Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Zeen is a next generation WordPress theme. It’s powerful, beautifully designed and comes with everything you need to engage your visitors and increase conversions.

Read More
How does Magento process requests that cannot be mapped?