PEAR Manual
Prev |  | Next

# I18Nv2::createNegotiator()

I18Nv2::createNegotiator() -- Create an I18Nv2_Negotiator object

## Synopsis

    require_once 'I18Nv2.php';

``object `I18Nv2_Negotiator` &I18Nv2::createNegotiator` ([string $defLang = 'en' [, string $defCharset = 'iso-8859-1']])`

## Description

Create a new I18Nv2_Negotiator object with the specified default language and default character set.

## Parameter

string `$defLang`

  default language

string `$defCharset`

  default character set

## Return value

Returns new object I18Nv2_Negotiator.

## Note

This function should be called statically.

## See

See also I18Nv2_Negotiator.

Prev | Home | Next
I18Nv2::createLocale() | Up | I18Nv2::langs2locales()