Documentation

Delete

bool
CCurrency::Delete(
 string currency
);

The Delete method is used to delete a currency by its ID. All the exchange rates for this currency and language-dependent parameters are deleted as well.

Method parameters

ParameterDescription
currency Currency ID code.

Returned values

The function returns true on success, or false otherwise.

Examples of use


<?
CCurrency::Delete("USD");
?>
© «Bitrix24», 2001-2024
Up