Db_Range Class
This class lets you use make range queries, in a structured way.
Constructor
Db_Range
(
-
$min
-
$includeMin
-
$includeMax
-
$max
Parameters:
-
$min
MixedMinimal value of the range. Pass null to skip the min.
-
$includeMin
BooleanWhether the range extends to include the minimum value
-
$includeMax
BooleanWhether the range extends to include the maximum value
-
$max
MixedMaximal value of the range. Pass null to skip the max. If boolean true is passed here, then $max is set to $min with the last character incremented to the next ASCII value.
Item Index
Properties
Properties
$includeMax
Boolean
Wheather maximum value shall be included to the range
$includeMin
Boolean
Wheather minimum value shall be included to the range
$max
Mixed
Maximal value of the range
$min
Mixed
Minimal value of the range