Bitrix Site Manager

CCurrency::Update

bool
CCurrency::Update(
 string currency, 
 array arFields
);

The method Update replaces parameters of the currency with those specified in the arFields array.

Parameters    

ParameterDescription
currency The identifier of the currency whose parameters are to be modified.
arFields Array of the currency new parameters. Value $arFields["CURRENCY"] must be the same as the identifier of the modified currency.

Return Values

Identifier of the currency whose parameters have been modified on success, or false otherwise.