Documentation

OnIBlockElementUpdate

handler function(
   array newFields,
   array ar_wf_element 
);

The event OnIBlockElementUpdate is called when modifying an iblock element.

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

ParameterDescription
newFields Array of updated iblock element fields and properties.
ar_wf_element Current values of updated fields as well as element properties, if the iblock participates in a workflow.

Returned value

None.

See Also



© «Bitrix24», 2001-2024
Up