|
Previous Page |
Solar_Filter_ValidateCtype |
Next Class |
validateCtype()
public
bool
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.