Ajax/semantic/components/validation/Rule.php
public static function integer($min=NULL,$max=NULL,$prompt=NULL){
		if(\is_int($min) && \is_int($max))
			return new Rule("integer[{$min}..{$max}]",$prompt);
		return new Rule("integer",$prompt);
	}
public static function integer($min=NULL,$max=NULL,$prompt=NULL){
		if(\is_int($min) && \is_int($max))
			return new Rule("integer[{$min}..{$max}]",$prompt);
		return new Rule("integer",$prompt);
	}
public static function integer ( $ min = NULL , $ max = NULL , $ prompt = NULL ) { if ( \ is_int ( $ min ) && \ is_int ( $ max ) ) return new Rule ( "integer[{$min}..{$max}]" , $ prompt ) ; return new Rule ( "integer" , $ prompt ) ; }
A field is an integer value, or matches an integer range
@param int|NULL $min
@param int|NULL $max
@param string $prompt
@return \Ajax\semantic\components\validation\Rule
A field is an integer value or matches an integer range