Documentation

OnIBlockElementAdd

handler function(
   array arFields 
);

The event OnIBlockElementAdd is called when adding 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 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
arFields Array of field values for the iblock element.

Returned value

None.

See Also



© «Bitrix24», 2001-2024
Up