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 |