Get the configuration flag value represented by the given configKey
@param string $configKey
@param null|string|bool|int|Mage_Core_Model_Store $store
@return bool
352957
public function getConfig($configKey, $store = null)
    {
        // if a value is given store, use it, even if it is null/false/empty string/whatever
        $store = count(func_get_args()) > 1 ? $store : $this->getStore();
        return $this->_getStoreConfigValue($configKey, $store, false);
    }
123558
public function get($section, $key){
		if(!isset($this->configValues[$section][$key])){
			return false;
		}
		return $this->configValues[$section][$key];
	}
896219
public Object getMethodConfigValue(String methodName, String configKey) {
        if (configValueCache == null) {
            return null;
        }
        String key = buildmkey(methodName, configKey);
        return configValueCache.get(key);
    }
100394
protected function _getConfigValue( $key, $default = null )
	{
		$config = $this->_item->getConfig();

		if( isset( $config[$key] ) ) {
			return $config[$key];
		}

		return $default;
	}
61615
public function get(string $storage_name, string $key = '')
    {
        // Calls only with app name indicates, that the complete app config is requested
        if (empty($key) && !empty($this->storage[$storage_name])) {
            return $this->storage[$storage_name];
        }

        // Calls with app and key are normal cfg requests
        if (!empty($key)) {

            if (!isset($this->storage[$storage_name]->{$key})) {
                Throw new ConfigException(sprintf('Config "%s" of app "%s" does not exist.', $key, $storage_name));
            }

            return $this->storage[$storage_name]->{$key};
        }

        // All other will result in an error exception
        Throw new ConfigException(sprintf('Config "%s" of app "%s" not found.', $key, $storage_name));
    }
239708
public function getConfig(string $key, ?Configuration $default = null): Configuration
    {
        $resolved = false;
        $value = $this->getByKey($key, $this->data, $resolved);
        
        if ($resolved) {
            return new static($value);
        }
        
        return $default ?? new static();
    }
547746
private function loadConfiguration(
        $configurationNamespace,
        $configurationKey
    ) {
        $configurationEntity = $this
            ->configurationRepository
            ->find([
                'namespace' => $configurationNamespace,
                'key' => $configurationKey,
            ]);

        return $configurationEntity;
    }
807605
protected function getConfigurationKey()
    {
        if (Registry::instanceExists(\OxidEsales\Eshop\Core\ConfigFile::class)) {
            $config = Registry::get(\OxidEsales\Eshop\Core\ConfigFile::class);
        } else {
            $config = new \OxidEsales\Eshop\Core\ConfigFile(getShopBasePath() . '/config.inc.php');
            Registry::set(\OxidEsales\Eshop\Core\ConfigFile::class, $config);
        }
        return $config->getVar('sConfigKey') ?: Config::DEFAULT_CONFIG_KEY;
    }
1145460
protected function getFlagConfiguration($key = null)
    {
        if (null !== $key) {
            $result = (isset($this->flagConfiguration[$key])) ? $this->flagConfiguration[$key] : null;

        } else {
            $result = $this->flagConfiguration;
        }

        return $result;
    }
1296308
protected static function _getConfigByKey($key) {
		$dbConfig = self::_getEngine()->get($key);
		$fileConfig = Configure::read($key);
		if (!is_null($fileConfig)) {
			$dbConfig = Hash::mergeDiff((array)$dbConfig, $fileConfig);
		}

		return $dbConfig;
	}
1276228
public function getTtlByKey($confCache, $cacheKey)
	{
	    $ttl = 0;
	    $config =  $this->getServiceLocator()->get('config');
	    if (!empty($config['caches']) && !empty($config['caches'][$confCache]))
	    {
	        $conf = $config['caches'][$confCache];
	         
	        // Get default ttl from adapater config
	        if (!empty($conf['adapter']['options']['ttl']))
	            $ttl = $conf['adapter']['options']['ttl'];
	        
	        foreach ($conf['ttls'] as $nameKey => $tll)
	        {
	            preg_match("/$nameKey/", $cacheKey, $matches, PREG_OFFSET_CAPTURE, 3);
	            
	            if (count($matches) > 0)
	            {
	                $ttl = $conf['ttls'][$nameKey];
	                break;
	            }
	        }
	    }
	    
	    return $ttl;
	}
639394
private function processSingleTag($item, $filename, $configKey = '')
    {
        if ($item instanceof TaggedValue) {
            $tag = $item->getTag();
            $value = $item->getValue();
        } elseif (is_string($item) && strlen($item) && $item[0] === '!' && preg_match('/\!([a-z]+)[ \t]+(.+)$/i', $item, $matches)) {
            $tag = $matches[1];
            $value = Yaml::parse($matches[2]);
            if (!is_string($value)) {
                return $item;
            }
        } else {
            return $item;
        }

        // Process the '!include' tag. The '!archive' and '!file' tags are
        // ignored as they are not relevant to the CLI (yet).
        switch ($tag) {
            case 'include':
                return $this->resolveInclude($value, $filename, $configKey);
        }

        return $item;
    }
100802
function ConfigValue(key, value) {
  this.name = ConfigValue.name;
  StoreError.apply(
    this, [null, 'invalid argument \'%s\' for CONFIG SET \'%s\'', value, key]);
}
1130582
public function getConfigStruct(string $configKey): ConfigStruct
    {
        if (!$this->hasConfigStruct($configKey)) {
            throw ConfigException::noConfigStruct($configKey);
        }

        return $this->configStructs[$configKey];
    }
1084559
protected function _getGumballConfig($configKey) {
        if (!$this->_gumballConfig) {
            $this->_gumballConfig = new Garp_Config_Ini(APPLICATION_PATH . '/configs/gumball.ini');
        }
        return $this->_gumballConfig->gumball->{$configKey};
    }
586650
protected function getConfigValue($key)
    {
        list($output) = $this->getSystemService()->execute($this->_('git config --global --get %s', $key));

        return trim($output);
    }
1209784
public static function configGet($key)
    {
		$data = self::getDbConnection()->fetchAssoc('SELECT value FROM config WHERE `class` = ? and `key` = ?', array( get_called_class(), $key ));
		if (!$data) return null;
		return unserialize($data['value']);
    }