protected static validateInteger ( integer $test, integer $min, integer $max, string $source, string $argument = "Argument" ) | ||
$test | integer | the input to test |
$min | integer | the minimum allowable value (inclusive) |
$max | integer | the maximum allowable value (inclusive) |
$source | string | the name of the function calling this |
$argument | string | the name of the invalid parameter |
protected static function validateInteger($test, $min, $max, $source, $argument = "Argument")
{
self::validateIntegerMulti($test, array(array($min, $max)), $source, $argument);
}