Prefer the specified locale.
public static function UnbLocale::Prefer ($code, $clientSorted = false);
(string) Locale code
(bool) true
to sort language-only by client accepted language, false
to sort by locale-provided importance.
(Only applies to language-only (two-letter) codes.)
The locales are preferred in the order in that they have been passed to this function, the first added being regarded first, i.e. having the highest priority.
Member of class: UnbLocale
Implementation file: locale.class.php, line 144
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.