Previous Page
locale()

Solar_Filter_ValidateRangeLength
validateRangeLength()

Next Class
Solar_Filter_ValidateSepWords

validateRangeLength()

public bool validateRangeLength ( mixed $value, mixed $min, mixed $max )

Validates that the length of the value is within a given range.

Parameters

  • (mixed) $value: The value to validate.
  • (mixed) $min: The minimum valid length.
  • (mixed) $max: The maximum valid length.

Returns

  • (bool) True if valid, false if not.

Description

Validates that the length of the value is within a given range.