PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
require_once 'I18Nv2/Language.php';
boolean I18Nv2_Language::isValidCode (string $code)
boolean I18Nv2_Language::isValidCode
Check if the supplied two/three letter language code is valid.
two/three letter language code
Returns boolean whether the two/three letter language code is valid.
This function can not be called statically.