Documentation

OnBeforeCurrencyUpdate

bool event_handler(
   string currency,
   array arFields
);

OnBeforeCurrencyUpdate event is called prior to updating an existing currency. Allows to modify existing data.

Parameters

Parameter Description
currency Currency ID.
arFields Associative array of currency parameters. List of available array keys can be found in CCurrency::Update.

Returned value

Can return false, if an update must be prevented. Otherwise, true value must be returned.

See Also



© «Bitrix24», 2001-2024