[ 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/ -> httpurlvalidator.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/urlformatrule.class.php" );
   5  
   6      /**
   7       * \ingroup Validator
   8       *
   9       * Checks whether the string is a valid http/https url
  10       *
  11       */
  12      class HttpUrlValidator extends Validator 
  13      {
  14      	function HttpUrlValidator()
  15          {
  16              $this->Validator();
  17              $this->addRule( new UrlFormatRule());
  18          }
  19      }
  20  ?>


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