Solar_Filter_ValidateCtype::validateCtype()
public
bool
Solar_Filter_ValidateCtype::validateCtype
( mixed $value
, string $type
)
Validates the value against a » ctype function.
Parameters
(mixed)
$value
: The value to validate.(string)
$type
: The ctype to validate against: 'alnum', 'alpha', 'digit', etc.
Returns
(bool) True if the value matches the ctype, false if not.
Description
Validates the value against a » ctype function.