Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorAlphaNum Class Reference
Inheritance diagram for FormValidatorAlphaNum:
FormValidator

Public Member Functions

 FormValidatorAlphaNum (&$form, $field, $type, $message)
 
- Public Member Functions inherited from FormValidator
 FormValidator (&$form, $field, $type, $message, $validator=null)
 
 getField ()
 
 getFieldValue ()
 
getForm ()
 
 getMessage ()
 
 getType ()
 
getValidator ()
 
 isEmptyAndOptional ()
 
 isValid ()
 
 setForm (&$form)
 

Detailed Description

Form validation check for alphanumeric (plus interior dash/underscore) characters only.

See Also
FormValidator

Definition at line 19 of file FormValidatorAlphaNum.inc.php.

Member Function Documentation

FormValidatorAlphaNum::FormValidatorAlphaNum ( $form,
  $field,
  $type,
  $message 
)

Constructor.

Parameters
$formForm the associated form
$fieldstring the name of the associated field
$typestring the type of check, either "required" or "optional"
$messagestring the error message for validation failures (i18n key)

Definition at line 27 of file FormValidatorAlphaNum.inc.php.


The documentation for this class was generated from the following file: