application/models/bestitamazonpay4oxidloginclient.php
public function getAmazonLanguage()
    {
        //Get all languages from module settings
        $aLanguages = $this->getConfig()->getConfigParam('aAmazonLanguages');
        $sLanguageAbbr = $this->getLanguage()->getLanguageAbbr();

        //Return Amazon Lang string if it exists in array else return null
        return isset($aLanguages[$sLanguageAbbr]) ? $aLanguages[$sLanguageAbbr] : $sLanguageAbbr;
    }
public function getAmazonLanguage()
    {
        //Get all languages from module settings
        $aLanguages = $this->getConfig()->getConfigParam('aAmazonLanguages');
        $sLanguageAbbr = $this->getLanguage()->getLanguageAbbr();

        //Return Amazon Lang string if it exists in array else return null
        return isset($aLanguages[$sLanguageAbbr]) ? $aLanguages[$sLanguageAbbr] : $sLanguageAbbr;
    }
public function getAmazonLanguage ( ) { //Get all languages from module settings $ aLanguages = $ this -> getConfig ( ) -> getConfigParam ( 'aAmazonLanguages' ) ; $ sLanguageAbbr = $ this -> getLanguage ( ) -> getLanguageAbbr ( ) ; //Return Amazon Lang string if it exists in array else return null return isset ( $ aLanguages [ $ sLanguageAbbr ] ) ? $ aLanguages [ $ sLanguageAbbr ] : $ sLanguageAbbr ; }
Method returns language for Amazon GUI elements

@return string
Method returns language for Amazon GUI elements