Class AlphanumericOnlyValidator

Description

Checks if the form field's value is an alphanumeric string: abc123, also allows the option of passing special characters to allow

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

Validator
   |
   --AlphanumericOnlyValidator
Variable Summary
Method Summary
AlphanumericOnlyValidator AlphanumericOnlyValidator (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 11)
mixed $obj_validationSet (line 14)

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

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

create new AlphanumericOnlyValidator object

AlphanumericOnlyValidator AlphanumericOnlyValidator (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 55)

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