trait NumericRule (Voir la source)

Méthodes

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

Détails

protected void compileNumber(string $key, string $masque)

Compile Number Rule

[number] Check that the contents of the field is a number

Paramètres

string $key
string $masque

Valeur de retour

void

protected void compileInt(string $key, string $masque)

Compile Int Rule

[int] Check that the contents of the field is an integer number

Paramètres

string $key
string $masque

Valeur de retour

void

protected void compileFloat(string $key, string $masque)

Compile Float Rule

[float] Check that the field content is a float number

Paramètres

string $key
string $masque

Valeur de retour

void