[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/WebControls/ -> TEmailAddressValidator.php (sommaire)

TEmailAddressValidator class file

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: TEmailAddressValidator.php 1397 2006-09-07 07:55:53Z wei $
Poids: 98 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TEmailAddressValidator:: (5 méthodes):
  getClientClassName()
  getRegularExpression()
  evaluateIsValid()
  getCheckMXRecord()
  setCheckMXRecord()


Classe: TEmailAddressValidator  - X-Ref

TEmailAddressValidator class

TEmailAddressValidator validates whether the value of an associated
input component is a valid email address. If {@link getCheckMXRecord CheckMXRecord}
is true, it will check MX record for the email adress, provided
checkdnsrr() is available in the installed PHP.

getClientClassName()   X-Ref
Gets the name of the javascript class responsible for performing validation for this control.
This method overrides the parent implementation.

return: string the javascript class name

getRegularExpression()   X-Ref

return: string the regular expression that determines the pattern used to validate a field.

evaluateIsValid()   X-Ref
Returns an array of javascript validator options.

return: array javascript validator options.

getCheckMXRecord()   X-Ref

return: boolean whether to check MX record for the email address being validated. Defaults to true.

setCheckMXRecord($value)   X-Ref

param: boolean whether to check MX record for the email address being validated.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7