[Horde_NLS] element index

Package indexes

All elements
c g i n s t _
_
top
Variable $_datafile
The location of the GeoIP database.
Variable $_filehandle
The open filehandle to the GeoIP database.
c
top
Method checkCharset
Check to see if character set is valid for htmlspecialchars() calls.
Method countryCodeByAddr
Returns the country abbreviation (2-letter) for an IP Address.
Method countryCodeByName
Returns the country abbreviation (2-letter) for a hostname.
Method countryIdByAddr
Returns the country ID for an IP Address.
Method countryIdByName
Returns the country ID for a hostname.
Method countryNameByAddr
Returns the country name for an IP address.
Method countryNameByName
Returns the country name for a hostname.
Page carsigns.php
carsigns.php in carsigns.php
Page coordinates.php
coordinates.php in coordinates.php
Page countries.php
countries.php in countries.php
g
top
Method generateFlagImageByHost
Returns a Horde image link to the country flag.
Constant GEOIP_COUNTRY_BEGIN
GEOIP_COUNTRY_BEGIN in GeoIP.php
Method getCharset
Returns the charset for the current language.
Method getCountryByHost
Get country information from a hostname or IP address.
Method getCountryInfo
Returns the country ID and Name for a given hostname.
Method getCountryISO
Returns either a specific or all ISO-3166 country names.
Method getEmailCharset
Returns the charset to use for outgoing emails.
Method getExternalCharset
Returns the current charset of the environment
Method getLangInfo
Get the language info returned by nl_langinfo(), but cache it, to avoid repeated calls.
Method getLocaleInfo
Get the locale info returned by localeconv(), but cache it, to avoid repeated calls.
Page GeoIP.php
GeoIP.php in GeoIP.php
i
top
Method isValid
NLS::isValid() in NLS.php
Determines whether the supplied language is valid.
n
top
Class NLS
NLS in NLS.php
The NLS:: class provides Native Language Support. This includes common methods for handling language detection and selection, timezones, and hostname->country lookups.
Page NLS.php
NLS.php in NLS.php
Class NLS_GeoIP
NLS_GeoIP in GeoIP.php
Method NLS_GeoIP
Create a NLS_GeoIP instance (Constructor).
Method numberFormat
Replacement for number_format() which doesn't work with multibyte separators.
s
top
Method select
NLS::select() in NLS.php
Selects the most preferred language for the current client session.
Method setCharset
Sets the charset.
Method setCharsetEnvironment
Sets the charset and reloads the whole NLS environment.
Method setLang
NLS::setLang() in NLS.php
Sets the language.
Method setLanguageEnvironment
Sets the language and reloads the whole NLS environment.
Method setTextdomain
Sets the gettext domain.
Method setTimeZone
Sets the current timezone, if available.
Method singleton
Returns a reference to the global NLS_GeoIP object, only creating it if it doesn't already exist.
Constant STANDARD_RECORD_LENGTH
Constant STRUCTURE_INFO_MAX_SIZE
t
top
Page tld.php
tld.php in tld.php
c g i n s t _