[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TRequiredFieldValidator class file
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TRegularExpressionValidator.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 107 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TRegularExpressionValidator:: (5 méthodes):
getClientClassName()
getRegularExpression()
setRegularExpression()
evaluateIsValid()
getClientScriptOptions()
Classe: TRegularExpressionValidator - X-Ref
TRegularExpressionValidator classgetClientClassName() 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. |
setRegularExpression($value) X-Ref |
param: string the regular expression that determines the pattern used to validate a field. |
evaluateIsValid() X-Ref |
This method overrides the parent's implementation. The validation succeeds if the input data matches the regular expression. The validation always succeeds if ControlToValidate is not specified or the regular expression is empty, or the input data is empty. return: boolean whether the validation succeeds |
getClientScriptOptions() X-Ref |
Returns an array of javascript validator options. return: array javascript validator options. |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |