Documentation

OnIBlockElementDelete

mixed CPrice::OnIBlockElementDelete(
 int ProductID
);

Method deletes all prices for element with ProductID. Non-static method. Event handler for OnIBlockElementDelete in Iblock module.

Call parameters

ParameterDescription
ProductID Deleted element ID.

Returned values

On successful deleting returns method result [link=89797]CDatabase::Query[/link], and false in case of error.

See Also



© «Bitrix24», 2001-2024