Solar_Filter_ValidateMaxLength::validateMaxLength()
public
bool
Solar_Filter_ValidateMaxLength::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.