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’);

 

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Search