hCurrency.php

The hCurrency.php helper in Osclass provides essential functions for managing currency data. It allows you to retrieve a complete list of available currencies (which is stored in the session) and to fetch detailed currency records by code. These capabilities ensure that your website can correctly display currency symbols, exchange rates, and other related information.

Functions Description

osc_get_currencies() – Gets the list of currencies and saves it to the session.

osc_get_currency_row($code) – Retrieves the currency record corresponding to the specified code.