Beispiel #1
0
     }
 } else {
     print "None.";
 }
 print "\n";
 # parent_registrar
 print "Has own team of bureaucrats? ";
 $parent_registrar = iban_country_get_parent_registrar($countrycode);
 if ($parent_registrar != '') {
     print "No (outsources to the wise experts of '" . $parent_registrar . "')\n";
 } else {
     print "Yes.\n";
 }
 # official currency
 print "Official currency: ";
 $official_currency = iban_country_get_currency_iso4217($countrycode);
 if ($official_currency == '') {
     print "None.";
 } else {
     print $official_currency;
 }
 print "\n";
 # get example iban
 $iban = $country['iban_example'];
 # output example iban properties one by one
 print "Example IBAN: " . iban_to_human_format($iban) . "\n";
 print " - country  " . iban_get_country_part($iban) . "\n";
 print " - checksum " . iban_get_checksum_part($iban) . "\n";
 print " - bban     " . iban_get_bban_part($iban) . "\n";
 print " - bank     " . iban_get_bank_part($iban) . "\n";
 print " - branch   " . iban_get_branch_part($iban) . "\n";
Beispiel #2
0
 public function CurrencyISO4217()
 {
     return iban_country_get_currency_iso4217($this->code);
 }