Core/ExtensionChecker.php
protected function getConfigValue($configName)
    {
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        $configKey = $config->getConfigParam('sConfigKey');

        $select = "SELECT DECODE( `oxvarvalue` , " . $db->quote($configKey) . " ) AS `oxvarvalue` " .
                   "FROM `oxconfig` WHERE `oxvarname` = " . $db->quote($configName) . " AND `oxshopid` = " . $db->quote($this->getShopId());

        return unserialize($db->getOne($select));
    }
protected function getConfigValue($configName)
    {
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        $configKey = $config->getConfigParam('sConfigKey');

        $select = "SELECT DECODE( `oxvarvalue` , " . $db->quote($configKey) . " ) AS `oxvarvalue` " .
                   "FROM `oxconfig` WHERE `oxvarname` = " . $db->quote($configName) . " AND `oxshopid` = " . $db->quote($this->getShopId());

        return unserialize($db->getOne($select));
    }
protected function getConfigValue ( $ configName ) { $ db = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ config = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ configKey = $ config -> getConfigParam ( 'sConfigKey' ) ; $ select = "SELECT DECODE( `oxvarvalue` , " . $ db -> quote ( $ configKey ) . " ) AS `oxvarvalue` " . "FROM `oxconfig` WHERE `oxvarname` = " . $ db -> quote ( $ configName ) . " AND `oxshopid` = " . $ db -> quote ( $ this -> getShopId ( ) ) ; return unserialize ( $ db -> getOne ( $ select ) ) ; }
Return config value

@param string $configName - config parameter name were stored arrays od extended classes

@return array
Return config value