public static validateNumber ( string $path, array $values, boolean $allow_neg, boolean $allow_zero, integer $max_value, string $error_string ) : string | ||
$path | string | path to config |
$values | array | config values |
$allow_neg | boolean | allow negative values |
$allow_zero | boolean | allow zero |
$max_value | integer | max allowed value |
$error_string | string | error message key: $GLOBALS["strConfig$error_lang_key"] |
return | string | empty string if test is successful |