Documentation

GetCityByID

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

array
CSaleLocation::GetCityByID(
  int ID
);

The method GetCityByID returns the language-independent parameters of a city.

Parameters

ParameterDescription
ID The city ID

Returned values

Returns an associated array with the following keys.

Key Description
ID The city ID.
NAME Language-independent city name.
SHORT_NAME Short language-independent city name.

© «Bitrix24», 2001-2024
Up