Solar_Filter_ValidateWord::validateWord()
public
bool
Solar_Filter_ValidateWord::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".