[ 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/ -> stringvalidator.class.php (source)

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
   4      lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
   5  
   6      /**
   7       * \ingroup Validator
   8       *
   9       * Checks that a string is not empty. 
  10       *
  11       * @see NonEmptyRule
  12       */
  13      class StringValidator extends Validator 
  14      {
  15      	function StringValidator()
  16          {
  17              $this->Validator();
  18              
  19              $this->addRule( new NonEmptyRule());
  20          }
  21      }
  22  ?>


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