source/Application/Controller/Admin/LanguageMain.php
protected function _getLanguages()
    {
        $aLangData['params'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguageParams');
        $aLangData['lang'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguages');
        $aLangData['urls'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguageURLs');
        $aLangData['sslUrls'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguageSSLURLs');

        // empty languages parameters array - creating new one with default values
        if (!is_array($aLangData['params'])) {
            $aLangData['params'] = $this->_assignDefaultLangParams($aLangData['lang']);
        }

        return $aLangData;
    }
protected function _getLanguages()
    {
        $aLangData['params'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguageParams');
        $aLangData['lang'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguages');
        $aLangData['urls'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguageURLs');
        $aLangData['sslUrls'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aLanguageSSLURLs');

        // empty languages parameters array - creating new one with default values
        if (!is_array($aLangData['params'])) {
            $aLangData['params'] = $this->_assignDefaultLangParams($aLangData['lang']);
        }

        return $aLangData;
    }
protected function _getLanguages ( ) { $ aLangData [ 'params' ] = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aLanguageParams' ) ; $ aLangData [ 'lang' ] = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aLanguages' ) ; $ aLangData [ 'urls' ] = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aLanguageURLs' ) ; $ aLangData [ 'sslUrls' ] = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aLanguageSSLURLs' ) ; // empty languages parameters array - creating new one with default values if ( ! is_array ( $ aLangData [ 'params' ] ) ) { $ aLangData [ 'params' ] = $ this -> _assignDefaultLangParams ( $ aLangData [ 'lang' ] ) ; } return $ aLangData ; }
Loads from config all data related with languages.
If no languages parameters array exists, sets default parameters values.
Returns collected languages parameters array.

@return array
Loads from config all data related with languages . If no languages parameters array exists sets default parameters values . Returns collected languages parameters array .