Field/AbstractField.php
protected function isInRange($range, $value)
    {
        $parts = explode('-', $range);

        return $value >= $parts[0] && $value <= $parts[1];
    }
protected function isInRange($range, $value)
    {
        $parts = explode('-', $range);

        return $value >= $parts[0] && $value <= $parts[1];
    }
protected function isInRange ( $ range , $ value ) { $ parts = explode ( '-' , $ range ) ; return $ value >= $ parts [ 0 ] && $ value <= $ parts [ 1 ] ; }
Checks if the given value is in the given range.

@param string $range
@param string $value

@return Boolean
Checks if the given value is in the given range .