Property | Type | Description | |
---|---|---|---|
$type | string | ||
$val1 | integer | ||
$val2 | integer |
Method | Description | |
---|---|---|
__construct ( string $type, integer $val1, integer $val2 = null ) | Constructor | |
getDefaultMessage ( ) : string | Gets the default message for the validator | |
validate ( Mixed $value ) : boolean | Validate function called for validator. |
public getDefaultMessage ( ) : string | ||
return | string | the validation message |