Documentation

GetLocationList

CDBResult
CSaleDelivery::GetLocationList(
  array arFilter = Array()
);

The method GetLocationList returns a filtered list of locations.

Parameters

ParameterDescription
arFilter The filter is an associated array whose keys are the parameter names, and values are the conditions.

The following keys are possible:
  • DELIVERY_ID - the delivery service ID;
  • LOCATION_ID - the location ID or the location group ID;
  • LOCATION_TYPE - type of location (L - single location, G - group of locations).

Returned values

Returns an instance of CDBResult, containing a set of associated arrays with the following keys.

Key Description
DELIVERY_ID The delivery service ID.
LOCATION_ID The location ID or the location group ID.
LOCATION_TYPE Type of location (L - single location, G - group of locations).
© «Bitrix24», 2001-2024
Up