NumericRule
trait NumericRule (View source)
Methods
void
compileNumber(string $key, string $masque)
Compile Number Rule
void
compileInt(string $key, string $masque)
Compile Int Rule
void
compileFloat(string $key, string $masque)
Compile Float Rule
Details
protected void
compileNumber(string $key, string $masque)
Compile Number Rule
[number] Check that the contents of the field is a number
protected void
compileInt(string $key, string $masque)
Compile Int Rule
[int] Check that the contents of the field is an integer number
protected void
compileFloat(string $key, string $masque)
Compile Float Rule
[float] Check that the field content is a float number