TwistPHP Documentation

getOfficialCurrency

File path: dist/twist/Core/Utilities/Localisation.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

getOfficialCurrencyGet the official currency of any given country by 2 character ISO country code.

Parameters

Name Type Description
$strCountryISOstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strCountryISO 'foo';

//Call the function getOfficialCurrency with the example vars
Twist::Localisation() -> getOfficialCurrency($strCountryISO);