application/models/bestitamazonpay4oxidloginclient.php
public function getLangIdByAmazonLanguage($sAmazonLanguageString)
    {
        //Get all languages from module settings
        $aLanguages = $this->getConfig()->getConfigParam('aAmazonLanguages');
        $sAbbreviation = array_search($sAmazonLanguageString, $aLanguages);
        $aAllLangIds = $this->getLanguage()->getAllShopLanguageIds();
        return array_search($sAbbreviation, $aAllLangIds);
    }
public function getLangIdByAmazonLanguage($sAmazonLanguageString)
    {
        //Get all languages from module settings
        $aLanguages = $this->getConfig()->getConfigParam('aAmazonLanguages');
        $sAbbreviation = array_search($sAmazonLanguageString, $aLanguages);
        $aAllLangIds = $this->getLanguage()->getAllShopLanguageIds();
        return array_search($sAbbreviation, $aAllLangIds);
    }
public function getLangIdByAmazonLanguage ( $ sAmazonLanguageString ) { //Get all languages from module settings $ aLanguages = $ this -> getConfig ( ) -> getConfigParam ( 'aAmazonLanguages' ) ; $ sAbbreviation = array_search ( $ sAmazonLanguageString , $ aLanguages ) ; $ aAllLangIds = $ this -> getLanguage ( ) -> getAllShopLanguageIds ( ) ; return array_search ( $ sAbbreviation , $ aAllLangIds ) ; }
Returns Language Id by Amazon Language string

@param string $sAmazonLanguageString Amazon Language string

@return int|bool
Returns Language Id by Amazon Language string