Class AlphabeticalOnlyValidator

Description

Checks if the form field's value is an alphabetical string: a-z A-Z, also allows the option of passing special characters to allow

Located in /validators/AlphabeticalOnlyValidator.php (line 7)

Validator
   |
   --AlphabeticalOnlyValidator
Variable Summary
Method Summary
AlphabeticalOnlyValidator AlphabeticalOnlyValidator (string $a_str_fieldName, [mixed $a_arr_specialCharacters = null], [string $a_str_errorMessage = null], [string $a_str_fieldValue = null], array $a_arr_specialCharacters;)
void validate ()
Variables
mixed $arr_specialCharacters (line 14)
mixed $obj_validationSet (line 13)

Redefinition of:
Validator::$obj_validationSet
mixed $str_errorMessage (line 12)

Redefinition of:
Validator::$str_errorMessage
mixed $str_fieldName (line 10)
mixed $str_fieldValue (line 11)
Methods
Constructor AlphabeticalOnlyValidator (line 26)

create new AlphabeticalOnlyValidator object

AlphabeticalOnlyValidator AlphabeticalOnlyValidator (string $a_str_fieldName, [mixed $a_arr_specialCharacters = null], [string $a_str_errorMessage = null], [string $a_str_fieldValue = null], array $a_arr_specialCharacters;)
  • string $a_str_fieldName
  • array $a_arr_specialCharacters;
  • string $a_str_errorMessage
  • string $a_str_fieldValue
validate (line 54)

validate

void validate ()

Inherited Methods

Inherited From Validator

Validator::getValueByFieldName()
Validator::setValidationSet()

Documentation generated on Mon, 29 Aug 2005 13:35:43 -0400 by phpDocumentor 1.3.0RC3