# central bank print "Central Bank: "; $central_bank_name = iban_country_get_central_bank_name($countrycode); if ($central_bank_name != '') { print $central_bank_name; $central_bank_url = iban_country_get_central_bank_url($countrycode); if ($central_bank_url != '') { print " ({$central_bank_url})"; } } 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
public function ParentRegistrar() { return iban_country_get_parent_registrar($this->code); }