UNB Components Code Reference

UnbEnvironment::GetClientLanguages method

Gets the client's language preferences.

public static function UnbEnvironment::GetClientLanguages ();

Return value

An array of all language codes, sorted by descending priority. The most preferred language code is in the first item, the least preferred is in the last item. All language codes are normalised to the form "aa" or "aa-AA".

Member of class: UnbEnvironment

Implementation file: environment.class.php, line 428

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.