Source for file I18N_Negotiator.php
Documentation is available at I18N_Negotiator.php
* test of I18N_Negotiator
print 'TEST I18N_Negotiator<br><br>';
require_once( 'I18N/Negotiator.php' );
$neg = new I18N_Negotiator;
$execute[] = '$lang = $neg->getLanguageMatch()';
$execute[] = '$country = $neg->getCountryMatch($lang)';
$execute[] = '$neg->getVariantInfo($lang)';
$execute[] = '$neg->getCharsetMatch()';
$execute[] = '$neg->getCountryName($country)';
$execute[] = '$neg->getLanguageName($lang)';
echo '<table border="1">';
foreach( $execute as $aExecute )
eval ('$result='. $aExecute. ';');
print " <tr><td>$aExecute </td><td> $result</td></tr>";
Documentation generated on Mon, 11 Mar 2019 15:36:11 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|