I18Nv2_Country::isValidCode

I18Nv2_Country::isValidCode() – Check if country code is valid

Synopsis

require_once 'I18Nv2/Country.php';

bool I18Nv2_Country::isValidCode ( string $code )

Description

Check if the supplied two letter country code is valid.

Parameter

string $code

two letter country code

Return value

Returns boolean whether the two letter country code is valid.

Note

This function can not be called statically.