public function getLanguageForUser($login)
    {
        if ($login == 'anonymous') {
            return false;
        }

        Piwik::checkUserHasSuperUserAccessOrIsTheUser($login);

        $lang = $this->getModel()->getLanguageForUser($login);

        return $lang;
    }
public function getLanguageForUser($login)
    {
        if ($login == 'anonymous') {
            return false;
        }

        Piwik::checkUserHasSuperUserAccessOrIsTheUser($login);

        $lang = $this->getModel()->getLanguageForUser($login);

        return $lang;
    }
public function getLanguageForUser ( $ login ) { if ( $ login == 'anonymous' ) { return false ; } Piwik :: checkUserHasSuperUserAccessOrIsTheUser ( $ login ) ; $ lang = $ this -> getModel ( ) -> getLanguageForUser ( $ login ) ; return $ lang ; }
Returns the language for the user

@param string $login
@return string
Returns the language for the user