OnStartIBlockElementAdd
bool handler function( array &arParams );
The event OnStartIBlockElementAdd is called in the method CIBlockElement::Add before adding an iblock element and before checking if fields are filled-in correctly.
Parameters
Parameter | Description |
---|---|
arParams | Array of fields for the new iblock element. |
Note:
The parameter(s) of this handler are references to the original variables. Hence, altering their values from within the handler causes changing values of the source variables passed to the handler.
See Also
© «Bitrix24», 2001-2024