Exemple #1
0
 /**
  * Get the country
  *
  * @param string $c two letter country code
  * @return string
  */
 function getCountry($c)
 {
     $c = mb_strtolower(trim($c));
     $return = suxFunct::getCountries();
     // Using key2 because key has several duplicates in 2-letter language codes
     if (isset($this->gtext["{$c}2"])) {
         $return[$c] = $this->gtext["{$c}2"];
     }
     return $return[$c];
 }