PEAR Manual
Prev |  | Next

# I18Nv2_Negotiator::getLanguageMatch()

I18Nv2_Negotiator::getLanguageMatch() -- Get language match

## Synopsis

    require_once 'I18Nv2/Negotiator.php';

``string I18Nv2_Negotiator::getLanguageMatch` ([array $langs = `NULL`])`

## Description

Get a matching language code.

## Parameter

array `$langs`

  array of language codes

## Return value

Returns string matching language code.

## Note

This function can not be called statically.

Prev | Home | Next
I18Nv2_Negotiator::getCountryMatch() | Up | I18Nv2_Negotiator::getLocaleMatch()