Currencies in the old core
Classes
List of Currency module classes in the old core
Class | Description | Available from version |
---|---|---|
CCurrency | Class for managing currencies: adding, deleting, enumeration. | |
CCurrencyLang | Class for managing language-dependent currency values (name, format and etc.) | |
CCurrencyRates | Class for managing currency values: saving, converting and etc. |
Events
List of Currency module events in the old core
Event | Called | Method | Available from version |
---|---|---|---|
OnBeforeCurrencyAdd | before adding currency. | CCurrency::Add | |
OnCurrencyAdd | when new currency is added. | CCurrency::Add | |
OnBeforeCurrencyUpdate | before updating existing currency. | CCurrency::Update | |
OnCurrencyUpdate | when updating the currency. | CCurrency::Update | |
OnBeforeCurrencyDelete | before deleting the currency. | CCurrency::Delete | |
OnCurrencyDelete | when deleting existing currency. | CCurrency::Delete | |
CurrencyFormat | when formatting currency. | CCurrencyLang::CurrencyFormat | |
OnBeforeCurrencyRateAdd | before adding a currency rate. | CCurrencyRates::Add | |
OnCurrencyRateAdd | when successfully adding new currency rate. | CCurrencyRates::Add | |
OnBeforeCurrencyRateUpdate | before updating existing currency rate. | CCurrencyRates::Update | |
OnCurrencyRateUpdate | when successfully updating currency rate. | CCurrencyRates::Update | |
OnBeforeCurrencyRateDelete | before deleting a currency rate. | CCurrencyRates::Delete | |
OnCurrencyRateDelete | when deleting existing currency rate. | CCurrencyRates::Delete |
Functions
List of the Currency module functions in the old core
Class | Description | Available from version | |
---|---|---|---|
CurrencyFormat | Formats the 'price' according to the formatting rules for currency on the current language. | 5.1.0 | 14.0.0 |
CurrencyFormatNumber | Formats price according to the currency settings for the current language without using template. | 11.5.0 | 14.0.0 |
© «Bitrix24», 2001-2024