Commit 7d27e7dd authored by Ad Schellevis's avatar Ad Schellevis
parent 4c87b1db
...@@ -46,14 +46,23 @@ class IntegerField extends BaseField ...@@ -46,14 +46,23 @@ class IntegerField extends BaseField
* maximum value for this field * maximum value for this field
* @var integer * @var integer
*/ */
private $maximum_value = PHP_INT_MAX; private $maximum_value ;
/** /**
* minimum value for this field * minimum value for this field
* @var integer * @var integer
*/ */
private $minimum_value = PHP_INT_MAX*-1; private $minimum_value ;
/**
* constructor, set absolute min and max values
*/
public function __construct()
{
parent:: __construct();
$this->minimum_value = PHP_INT_MAX*-1;
$this->maximum_value = PHP_INT_MAX ;
}
/** /**
* setter for maximum value * setter for maximum value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment