
Public Member Functions | |
| FormValidatorInSet (&$form, $field, $type, $message, $acceptedValues) | |
| isValid () | |
Public Attributes | |
| $acceptedValues | |
Definition at line 20 of file FormValidatorInSet.inc.php.
| FormValidatorInSet.FormValidatorInSet | ( | &$ | form, | |
| $ | field, | |||
| $ | type, | |||
| $ | message, | |||
| $ | acceptedValues | |||
| ) |
Constructor.
| $acceptedValues | array all possible accepted values |
Definition at line 30 of file FormValidatorInSet.inc.php.
References $acceptedValues, FormValidator.$field, FormValidator.$form, FormValidator.$message, and FormValidator.$type.
| FormValidatorInSet.isValid | ( | ) |
Check if field value is valid. Value is valid if it is empty and optional or is in the set of accepted values.
Reimplemented from FormValidator.
Definition at line 40 of file FormValidatorInSet.inc.php.
References FormValidator.isEmptyAndOptional().
| FormValidatorInSet.$acceptedValues |
Array of all values accepted as valid
Definition at line 23 of file FormValidatorInSet.inc.php.
Referenced by FormValidatorInSet().
1.5.6