Bitrix Site Manager

CSaleLocation::GetCityLangByID

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

The method GetCityLangByID returns language dependent parameters of a city.

Parameters

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

Return Values

Returns an associated array with the following keys.

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