OnIBlockElementSetPropertyValues
handler function( int ELEMENT_ID, int IBLOCK_ID, array PROPERTY_VALUES, string PROPERTY_CODE, array ar_prop, array arDBProps );
The event OnIBlockElementSetPropertyValues is called when the property values for an iblock element are saved.
The event is called at the moment when all handlers have already finished modifying the data, data verification has been completed and the data itself is being written into database. This event does not allow modifying the data. The main scenario of use - execute some code before handling the database and ensure that the data was modified in the database.
Parameters
Parameter | Description |
---|---|
ELEMENT_ID | Iblock element ID. |
IBLOCK_ID | Iblock ID. |
PROPERTY_VALUES | array of property values for iblock element. |
PROPERTY_CODE | Modified property ID. When this parameter is not false, only the property with such code is modified. |
ar_prop | Array, describing active iblock properties. |
arDBProps | Current values of element properties. |
Returned value
None.
See Also
© «Bitrix24», 2001-2024