I18Nv2_Negotiator::getCharsetMatch I18Nv2_Negotiator::getLanguageMatch

I18Nv2

PEAR Manual


I18Nv2_Negotiator::getCountryMatch

I18Nv2_Negotiator::getCountryMatch() -- Get country match

Synopsis

require_once 'I18Nv2/Negotiator.php';

string I18Nv2_Negotiator::getCountryMatch ( string $lang , array $countries = NULL )

Description

Get a matching country code.

Parameter

string $lang

language code

array $countries

array of country codes

Return value

Returns string matching country.

Note

This function can not be called statically.



I18Nv2_Negotiator::getCharsetMatch I18Nv2_Negotiator::getLanguageMatch

I18Nv2

PEAR Manual