DiscountEntitiesTable
DiscountEntitiesTable class for handling table with entities (Iblock properties, catalog data, shopping cart and etc.), necessary for shopping cart discounts.
Class methods
Method | Description | Available from version |
---|---|---|
deleteByDiscount | Deletes list of entities, necessary for a discount with code $discount . |
|
getByDiscount | Returns array with entities according array with shopping cart discount $discountList . |
|
getMap | Returns list of fields for table with entities, necessary for handling shopping cart discounts. | |
getTableName | Returns name for table with entities, necessary for shopping cart discounts. | |
updateByDiscount | Updates parameters of entity list according to discount with code $discount . |
|
validateEntity | Returns validator for the field ENTITY . |
|
validateFieldEntity | Returns validator for the field FIELD_ENTITY . |
|
validateFieldTable | Returns validator for the field FIELD_TABLE . |
|
validateModuleId | Returns validator for the field MODULE_ID . |
© «Bitrix24», 2001-2024