public function getLanguage()
    {
        $configuration = $this->getConfiguration();
        $result = !empty($configuration['lang']) ? $configuration['lang'] : $this->getDefaultLanguage();

        return ($result !== '') ? $result : 'default';
    }
public function getLanguage()
    {
        $configuration = $this->getConfiguration();
        $result = !empty($configuration['lang']) ? $configuration['lang'] : $this->getDefaultLanguage();

        return ($result !== '') ? $result : 'default';
    }
public function getLanguage ( ) { $ configuration = $ this -> getConfiguration ( ) ; $ result = ! empty ( $ configuration [ 'lang' ] ) ? $ configuration [ 'lang' ] : $ this -> getDefaultLanguage ( ) ; return ( $ result !== '' ) ? $ result : 'default' ; }
Gets this user's language. Will be a two-letter "lg_typo3" key of the
"static_languages" table or "default" for the default language.

@return string this user's language key, will not be empty
Gets this user s language . Will be a two - letter lg_typo3 key of the static_languages table or default for the default language .