DiscountEntitiesTable class for handling table with entities (Iblock properties, catalog data, shopping cart and etc.), necessary for shopping cart discounts.

Class methods

MethodDescription Available from version
deleteByDiscountDeletes list of entities, necessary for a discount with code $discount.
getByDiscountReturns array with entities according array with shopping cart discount $discountList.
getMapReturns list of fields for table with entities, necessary for handling shopping cart discounts.
getTableNameReturns name for table with entities, necessary for shopping cart discounts.
updateByDiscountUpdates parameters of entity list according to discount with code $discount.
validateEntityReturns validator for the field ENTITY.
validateFieldEntityReturns validator for the field FIELD_ENTITY.
validateFieldTableReturns validator for the field FIELD_TABLE.
validateModuleIdReturns validator for the field MODULE_ID.

© «Bitrix24», 2001-2024