Documentation

GetCountryLangByID

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

array
CSaleLocation::GetCountryLangByID(
  int ID,
  string strLang = LANGUAGE_ID
);

The method GetCountryLangByID returns the language dependent parameters of a country.

Parameters

ParameterDescription
ID The country ID.
strLang The ID of the language in which the language-dependent parameters will be returned. By default, the current language is used.

Returned values

Returns an associated array with the following keys.

Key Description
ID The record ID.
CITY_ID The country ID.
LID Language.
NAME Language-dependent country name
SHORT_NAME Short language-dependent country name abbreviation.

 


© «Bitrix24», 2001-2024
Up