I18Nv2_Negotiator::getCountryMatch()

I18Nv2_Negotiator::getCountryMatch()  -- Get country match

概要

require_once 'I18Nv2/Negotiator.php';

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

説明

Get a matching country code.

パラメータ

string $lang

language code

array $countries

array of country codes

返り値

Returns string matching country.

注意

この関数は、スタティックにコールする ことはできません。