source/Core/Language.php
protected function _getLanguageIdsFromLanguageParamsArray($aLanguageParams)
    {
        $aLanguages = [];
        foreach ($aLanguageParams as $sAbbr => $aValue) {
            $iBaseId = (int) $aValue['baseId'];
            $aLanguages[$iBaseId] = $sAbbr;
        }

        return $aLanguages;
    }
protected function _getLanguageIdsFromLanguageParamsArray($aLanguageParams)
    {
        $aLanguages = [];
        foreach ($aLanguageParams as $sAbbr => $aValue) {
            $iBaseId = (int) $aValue['baseId'];
            $aLanguages[$iBaseId] = $sAbbr;
        }

        return $aLanguages;
    }
protected function _getLanguageIdsFromLanguageParamsArray ( $ aLanguageParams ) { $ aLanguages = [ ] ; foreach ( $ aLanguageParams as $ sAbbr => $ aValue ) { $ iBaseId = ( int ) $ aValue [ 'baseId' ] ; $ aLanguages [ $ iBaseId ] = $ sAbbr ; } return $ aLanguages ; }
gets language code array from aLanguageParams array

@param array $aLanguageParams Language parameters

@return array
gets language code array from aLanguageParams array