Documentation

Currencies.php

Simple Machines Forum (SMF)

Tags
author

Simple Machines https://www.simplemachines.org

copyright

2025 Simple Machines and individual contributors

license

https://www.simplemachines.org/about/smf/license.php BSD

version
3.0

Alpha 2

Table of Contents

Functions

currencies()  : array<string|int, mixed>
Helper function for SMF\Localization\MessageFormatter::formatMessage.
country_currencies()  : array<string|int, mixed>
Helper function for SMF\Localization\MessageFormatter::formatMessage.

Functions

currencies()

Helper function for SMF\Localization\MessageFormatter::formatMessage.

currencies() : array<string|int, mixed>

Rules compiled from: https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-core/supplemental/currencyData.json

Developers: Do not update the data in this function manually. Instead, run "php -f other/update_unicode_data.php" on the command line.

Return values
array<string|int, mixed>

Information about different currencies

country_currencies()

Helper function for SMF\Localization\MessageFormatter::formatMessage.

country_currencies() : array<string|int, mixed>

Rules compiled from: https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-core/supplemental/currencyData.json

Developers: Do not update the data in this function manually. Instead, run "php -f other/update_unicode_data.php" on the command line.

Return values
array<string|int, mixed>

Information about currencies used in different countries


        
On this page

Search results