Documentation

getByDiscount

array public static
\Bitrix\Sale\Internals\DiscountEntitiesTable::getByDiscount(
 array $discountList,
 array $filter = array(),
 boolean $groupModule = true
);

Method returns array with entities according to array with discounts $discountList. Static method.

Parameters

ParameterDescriptionVersion
$discountListArray with discount IDs.
$filterArray with additional filtration.
$groupModuleWhen parameter is true, groups by modules.

Example



© «Bitrix24», 2001-2024