Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorRegExp Class Reference
Inheritance diagram for FormValidatorRegExp:

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from FormValidator

Detailed Description

Form validation check using a regular expression.

Definition at line 18 of file

Member Function Documentation

FormValidatorRegExp::FormValidatorRegExp ( $form,


$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)
$regExpstring the regular expression (PCRE form)

Definition at line 27 of file

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