source/Core/Language.php
public function getLanguageAbbr($iLanguage = null)
    {
        if ($this->_aLangAbbr === null) {
            $this->_aLangAbbr = $this->getLanguageIds();
        }

        $iLanguage = isset($iLanguage) ? (int) $iLanguage : $this->getBaseLanguage();
        if (isset($this->_aLangAbbr[$iLanguage])) {
            $iLanguage = $this->_aLangAbbr[$iLanguage];
        }

        return $iLanguage;
    }
public function getLanguageAbbr($iLanguage = null)
    {
        if ($this->_aLangAbbr === null) {
            $this->_aLangAbbr = $this->getLanguageIds();
        }

        $iLanguage = isset($iLanguage) ? (int) $iLanguage : $this->getBaseLanguage();
        if (isset($this->_aLangAbbr[$iLanguage])) {
            $iLanguage = $this->_aLangAbbr[$iLanguage];
        }

        return $iLanguage;
    }
public function getLanguageAbbr ( $ iLanguage = null ) { if ( $ this -> _aLangAbbr === null ) { $ this -> _aLangAbbr = $ this -> getLanguageIds ( ) ; } $ iLanguage = isset ( $ iLanguage ) ? ( int ) $ iLanguage : $ this -> getBaseLanguage ( ) ; if ( isset ( $ this -> _aLangAbbr [ $ iLanguage ] ) ) { $ iLanguage = $ this -> _aLangAbbr [ $ iLanguage ] ; } return $ iLanguage ; }
Returns selected language abbreviation

@param int $iLanguage language id [optional]

@return string
Returns selected language abbreviation