Solar_Filter_ValidateMax::validateMax()
public
bool
Solar_Filter_ValidateMax::validateMax
( mixed $value
, mixed $max
)
Validates that the value is less than than or equal to a maximum.
Parameters
(mixed)
$value
: The value to validate.(mixed)
$max
: The maximum valid value.
Returns
(bool) True if valid, false if not.
Description
Validates that the value is less than than or equal to a maximum.