Documentation

getCountryName

string|null public static
\Bitrix\Main\Service\GeoIp\Manager::getCountryName(
 string $ip = '',
 string $lang = ''
);

Static method returns full country name.

Parameters

ParameterDescriptionVersion
$ipIP address.
$langLanguage ID.

Examples



© «Bitrix24», 2001-2024
Up