[ 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: TRequiredFieldValidator.php 1397 2006-09-07 07:55:53Z wei $ |
Poids: | 139 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TRequiredFieldValidator:: (8 méthodes):
getClientClassName()
getInitialValue()
setInitialValue()
evaluateIsValid()
validateListControl()
validateRadioButtonGroup()
validateStandardControl()
getClientScriptOptions()
Classe: TRequiredFieldValidator - X-Ref
TRequiredFieldValidator 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 |
getInitialValue() X-Ref |
return: string the initial value of the associated input control. Defaults to empty string. |
setInitialValue($value) X-Ref |
param: string the initial value of the associated input control. |
evaluateIsValid() X-Ref |
This method overrides the parent's implementation. The validation succeeds if the input component changes its data from the {@link getInitialValue InitialValue} or the input control is not given. Validation will also succeed if input is of TListControl type and the number of selected values different from the initial value is greater than zero. return: boolean whether the validation succeeds |
validateListControl($control) X-Ref |
Pas de description |
validateRadioButtonGroup($control) X-Ref |
Pas de description |
validateStandardControl($control) X-Ref |
Pas de description |
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 |