Documentation

GetCountryByID

This class has been deprecated. It's recommended to use methods of class Bitrix\Sale\Location.

array
CSaleLocation::GetCountryByID(
  int ID
);

The method GetCountryByID returns language-independent parameters of a country.

Parameters

ParameterDescription
ID The country ID.

Returned values

Returns an associated array with the following keys.

Key Description
ID The country ID.
NAME Language-independent country name.
SHORT_NAME Short language-independent name of the country.

 


© «Bitrix24», 2001-2024
Up