|
Previous Page |
Solar_Filter_ValidateLocaleCode |
Next Class |
validateLocaleCode()
public
bool
validateLocaleCode (
mixed $value
)
Validates that the value is a locale code.
Parameters
- (mixed)
$value: The value to validate.
Returns
- (bool) True if valid, false if not.
Description
Validates that the value is a locale code.
The format is two lower-case letters, an underscore, and two upper-case letters.