Documentation

GetByID

array
CSaleLocationGroup::GetByID(
  int ID,
  string strLang = LANGUAGE_ID
);

The method GetByID returns parameters of the location group. The method allows to specify the language in which the language-dependent parameters are to be returned.

Parameters

ParameterDescription
ID The location group ID.
strLang The ID of the language in which the language-dependent parameters are to be returned. By default, the current language is used.

Returned values

Returns an associated array with the following keys.

Key Description
ID The location group ID.
SORT Sort weight.
NAME Group name.
LID Language in which the name is returned.
© «Bitrix24», 2001-2024