I18Nv2_Negotiator::I18Nv2_Negotiator() – Constructor


require_once 'I18N/Negotiator.php';

object I18Nv2_Negotiator I18Nv2_Negotiator::I18Nv2_Negotiator ( string $defaultLanguage = 'en' , string $defaultCharset = 'iso-8859-1' , string $defaultCountry = '' )


Find language code, country code, charset code, and dialect or variant of locale setting in HTTP request headers.


string $defaultLanguage

default language

string $defaultCharset

default character set

string $defaultCountry

default country

Return value

Returns object I18Nv2_Negotiator.

I18Nv2_Negotiator (Previous) Get character set match (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.