|
Previous Page |
Solar_Filter_ValidateWord |
Next Class |
validateWord()
public
bool
validateWord (
mixed $value
)
Validates that the value is composed only of word characters.
Parameters
- (mixed)
$value: The value to validate.
Returns
- (bool) True if valid, false if not.
Description
Validates that the value is composed only of word characters.
These include a-z, A-Z, 0-9, and underscore, indicated by a regular expression "\w".