Documentation

OnBeforeCurrencyRateAdd

bool event_handler(
   array arFields
);

OnBeforeCurrencyRateAdd event is called in the CCurrencyRates::Add method prior to adding a currency rate and prior to a field check. Allows to modify entered data or to cancel a record altogether.

Parameters

Parameter Description
arFields Associative array of currency rate parameters. List of available array keys can be found in the CCurrencyRates::Add method.

Returned value

Returns false if denied, and true on successful permission for adding.

See Also



© «Bitrix24», 2001-2024