[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/data/validator/rules/ -> intrule.class.php (sommaire)

(pas de description)

Poids: 42 lignes (1 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

IntRule:: (2 méthodes):
  IntRule()
  validate()


Classe: IntRule  - X-Ref

\ingroup Validator_Rules

Checks if the given value is an integer, not only in type but also in format.
It will return ERROR_RULE_INT_FORMAT_WRONG if the format is not correct
IntRule()   X-Ref
Initialize the rule


validate($value)   X-Ref
Returns true if the given value is an integer, or false otherwise. In case of error
it will also set the error code to ERROR_RULE_INT_FORMAT_WRONG




Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics