source/Core/Language.php
protected function _selectLanguageParamValues($sParamName, $sShopId = null)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb(\OxidEsales\Eshop\Core\DatabaseProvider::FETCH_MODE_ASSOC);
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        $sQuery = "
            select " . $oConfig->getDecodeValueQuery() . " as oxvarvalue
            from oxconfig
            where oxvarname = '{$sParamName}' ";

        if (!empty($sShopId)) {
            $sQuery .= " and oxshopid = '{$sShopId}' limit 1";
        }

        return $oDb->getAll($sQuery);
    }
protected function _selectLanguageParamValues($sParamName, $sShopId = null)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb(\OxidEsales\Eshop\Core\DatabaseProvider::FETCH_MODE_ASSOC);
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        $sQuery = "
            select " . $oConfig->getDecodeValueQuery() . " as oxvarvalue
            from oxconfig
            where oxvarname = '{$sParamName}' ";

        if (!empty($sShopId)) {
            $sQuery .= " and oxshopid = '{$sShopId}' limit 1";
        }

        return $oDb->getAll($sQuery);
    }
protected function _selectLanguageParamValues ( $ sParamName , $ sShopId = null ) { $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: FETCH_MODE_ASSOC ) ; $ oConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ sQuery = "
            select " . $ oConfig -> getDecodeValueQuery ( ) . " as oxvarvalue
            from oxconfig
            where oxvarname = '{$sParamName}' " ; if ( ! empty ( $ sShopId ) ) { $ sQuery .= " and oxshopid = '{$sShopId}' limit 1" ; } return $ oDb -> getAll ( $ sQuery ) ; }
Returns array of all config values of given paramName

@param string      $sParamName Parameter name
@param string|null $sShopId    Shop id

@return array
Returns array of all config values of given paramName