/**
  * @param string $current_currency_code Currently selected currency
  * @param array $supported_currencies Array of supported currencies or false
  */
 function __initialize($current_currency_code = false, $supported_currencies = false)
 {
     parent::__initialize();
     $this->script("Locale_Settings_Init();");
     $this->setData('role', 'currency');
     $this->current_currency_code = $current_currency_code;
     if ($current_currency_code) {
         $this->SetCurrentValue($current_currency_code);
     }
     if (!$supported_currencies) {
         $supported_currencies = Localization::get_currency_codes();
     }
     foreach ($supported_currencies as $code) {
         $ci = Localization::get_currency_culture($code);
         $this->AddOption($code, "{$ci->CurrencyFormat->Code} ({$ci->CurrencyFormat->Symbol})");
     }
 }