Tools.php
public static function countryCodeThreeToTwo($code)
    {
        if (!array_key_exists($code, self::$_countryCodes)) {
            return false;
        }

        return self::$_countryCodes[$code];
    }
public static function countryCodeThreeToTwo($code)
    {
        if (!array_key_exists($code, self::$_countryCodes)) {
            return false;
        }

        return self::$_countryCodes[$code];
    }
public static function countryCodeThreeToTwo ( $ code ) { if ( ! array_key_exists ( $ code , self :: $ _countryCodes ) ) { return false ; } return self :: $ _countryCodes [ $ code ] ; }
Converts three digit country code to two digit one or return false if code does not exists

@param string $code Three digit country code
@return string|false
Converts three digit country code to two digit one or return false if code does not exists