Documentation

OnBeforeCurrencyAdd

bool event_handler(
   array arFields
);

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

Parameters

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

Returned value

Returns false if denied, returns true on successful permission to add.

See Also



© «Bitrix24», 2001-2024