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