protected function _getStoreConfigValue($configKey, $store, $asFlag)
    {
        foreach ($this->_configModels as $configModel) {
            if ($configModel->hasKey($configKey)) {
                $configMethod = $asFlag ? 'getStoreConfigFlag' : 'getStoreConfig';
                return Mage::$configMethod($configModel->getPathForKey($configKey), $store);
            }
        }
        throw Mage::exception('Mage_Core', "Configuration path specified by '$configKey' was not found.");
    }
protected function _getStoreConfigValue($configKey, $store, $asFlag)
    {
        foreach ($this->_configModels as $configModel) {
            if ($configModel->hasKey($configKey)) {
                $configMethod = $asFlag ? 'getStoreConfigFlag' : 'getStoreConfig';
                return Mage::$configMethod($configModel->getPathForKey($configKey), $store);
            }
        }
        throw Mage::exception('Mage_Core', "Configuration path specified by '$configKey' was not found.");
    }
protected function _getStoreConfigValue ( $ configKey , $ store , $ asFlag ) { foreach ( $ this -> _configModels as $ configModel ) { if ( $ configModel -> hasKey ( $ configKey ) ) { $ configMethod = $ asFlag ? 'getStoreConfigFlag' : 'getStoreConfig' ; return Mage :: $ configMethod ( $ configModel -> getPathForKey ( $ configKey ) , $ store ) ; } } throw Mage :: exception ( 'Mage_Core' , "Configuration path specified by '$configKey' was not found." ) ; }
Search through registered config models for one that knows about the key
and get the actual config path from it for the lookup.

@param string $configKey
@param null|string|bool|int|Mage_Core_Model_Store $store
@param bool $asFlag
@throws Mage_Core_Exception if the config path is not found.
@return string|bool
Search through registered config models for one that knows about the key and get the actual config path from it for the lookup .