I18Nv2_Language::isValidCode

I18Nv2_Language::isValidCode() – Check if language code is valid

Synopsis

require_once 'I18Nv2/Language.php';

boolean I18Nv2_Language::isValidCode ( string $code )

Description

Check if the supplied two/three letter language code is valid.

Parameter

string $code

two/three letter language code

Return value

Returns boolean whether the two/three letter language code is valid.

Note

This function can not be called statically.