The NLS:: class provides Native Language Support. This includes common methods for handling language detection and selection, timezones, and hostname->country lookups.
Copyright 1999-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /NLS/NLS.php (line 28)
Check to see if character set is valid for htmlspecialchars() calls.
Returns a Horde image link to the country flag.
Returns the charset for the current language.
Get country information from a hostname or IP address.
Returns either a specific or all ISO-3166 country names.
Returns the charset to use for outgoing emails.
Returns the current charset of the environment
Get the language info returned by nl_langinfo(), but cache it, to avoid repeated calls.
Get the locale info returned by localeconv(), but cache it, to avoid repeated calls.
Determines whether the supplied language is valid.
Replacement for number_format() which doesn't work with multibyte separators.
Selects the most preferred language for the current client session.
Sets the charset.
In general, the applied charset is automatically determined by browser language and browser capabilities and there's no need to manually call setCharset. However for headless (RPC) operations the charset may be set manually to ensure correct character conversion in the backend.
Sets the charset and reloads the whole NLS environment.
When setting the charset, the gettext catalogs have to be reloaded too, to match the new charset, among other things. This method takes care of all this.
Sets the language.
Sets the language and reloads the whole NLS environment.
When setting the language, the gettext catalogs have to be reloaded too, charsets have to be updated etc. This method takes care of all this.
Sets the gettext domain.
Sets the current timezone, if available.
Documentation generated on Sun, 30 Jan 2011 05:19:57 +0000 by phpDocumentor 1.4.3