Skip to content

API DataValidator_Filters InFloatRange

Christophe SAUVEUR edited this page Jul 9, 2024 · 2 revisions

InFloatRange Class

chsxf\MFX\DataValidator\Filters

class InFloatRange extends chsxf\MFX\DataValidator\AbstractFilter

Summary

Descriptor of a filter field checking presence of the value in a Min Max range

Since 1.0

Methods

__construct

public function __construct(float $value1, float $value2, bool $includeMax = false, ?string $message = null)

Constructor

Since 1.0

Parameters

Name Type Description
$min float the minimum value
$max float the maximum value
$includeMax bool If set, includes the max value. If not, the max value is not part of the range.
$message string Error message

Clone this wiki locally