[ 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/ -> nonemptyrule.class.php (sommaire)

(pas de description)

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

Définit 1 class

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


Classe: NonEmptyRule  - X-Ref

\ingroup Validator_Rules

Validates if a string is empty or not
NonEmptyRule()   X-Ref
Initializes the rule


validate($value)   X-Ref
Returns true if the value is not empty or false otherwise. If empty,
the error ERROR_RULE_VALUE_IS_EMPTY will be set.

param: value the string that we'd like to validate
return: true if successful or false otherwise



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