update
\Bitrix\Main\Entity\UpdateResult public static \Bitrix\Catalog\DiscountTable::update( mixed $primary, array $data );
Method updates discounts parameters with the key $primary
according to the data from array $data
. Static method and a method stub, creating exceptions for discount updates. Presently, you must use the Old core API.
Parameters
Parameter | Description | Version |
---|---|---|
$primary | Discount primary key. | |
$data | Array of discount parameters. |
Example
© «Bitrix24», 2001-2024