/** * Returns the countryname of the IBAN * * @access public * @return string */ function getCountryname() { $countrycode = $this->getCountrycode(); if (is_string($countrycode)) { $_iban_countrycode_countryname = Validate_Finance_IBAN::_getCountrycodeCountryname(); return $_iban_countrycode_countryname[$countrycode]; } else { // e.g. if it's an error return $countrycode; } }