You are here

function phone_supported_countrycode in Phone 7

Same name and namespace in other branches
  1. 6 phone.module \phone_supported_countrycode()

Country supported or not by the module ?

Parameters

string $countrycode:

Return value

boolean Returns a boolean containting the answer to the question.

2 calls to phone_supported_countrycode()
format_phone_number in ./phone.module
Formatting for Phone Numbers.
valid_phone_number in ./phone.module
Verification for Phone Numbers.

File

./phone.module, line 311

Code

function phone_supported_countrycode($countrycode) {
  return phone_country_info($countrycode) !== NULL ? TRUE : FALSE;
}