Documentation

Delete

bool
CCurrencyRates::Delete(
 int ID
);

This method deletes a record with ID from the table with currency exchange rates. If non-existent currency rate is deleted (there is no such currency rate with such ID) - error will be the result. Static method.

On success resets both the currency_rate and currency_id tagged cache.

Parameters

ParameterDescription
ID The record ID to be deleted.

Return Values

Returns true on success, or false otherwise. Error text is returned via $APPLICATION->GetException()

© «Bitrix24», 2001-2024