Documentation

OnStartIBlockElementUpdate

bool handler function(
   array &arParams 
);

The event OnStartIBlockElementUpdate is called in the method CIBlockElement::Update before modifying an iblock element before field contents validity check and can be used to re-define specific fields.

Parameters

ParameterDescription
arParams Array of fields for the modified 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.

Returned value

If the event handler OnStartIBlockElementUpdate returns false, it cancels execution other handlers in the method CIBlockElement::Update.

See Also



© «Bitrix24», 2001-2024
Up