|
Previous Page |
Solar_Filter_ValidateMaxLength |
Next Class |
validateMaxLength()
public
bool
validateMaxLength (
mixed $value,
mixed $max
)
Validates that a string is no longer than a certain length.
Parameters
- (mixed)
$value: The value to validate. - (mixed)
$max: The value must have no more than this many characters.
Returns
- (bool) True if valid, false if not.
Description
Validates that a string is no longer than a certain length.