You are here

static function CurrencyLocalePattern::setCountryCode in Currency 7.2

Sets the currency locale's country.

Parameters

string $country_code_new: Any code that is also returned by country_get_list().

Return value

null

1 call to CurrencyLocalePattern::setCountryCode()
CurrencyLocalePatternWebTestCase::testLocaleDelegation in currency/tests/CurrencyLocalePatternWebTestCase.test
Tests locale delegation.

File

currency/includes/CurrencyLocalePattern.inc, line 147
Contains class CurrencyLocalePattern.

Class

CurrencyLocalePattern
A currency pattern for a locale.

Code

static function setCountryCode($country_code_new) {
  $country_code =& drupal_static(__CLASS__ . '_country_code');
  $country_code = $country_code_new;
}