Open Journal Systems  3.3.0
FormValidatorLocaleEmail Class Reference
Inheritance diagram for FormValidatorLocaleEmail:
FormValidatorLocale FormValidator

Public Member Functions

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

Additional Inherited Members

- Data Fields inherited from FormValidatorLocale
 $_requiredLocale
 
- Data Fields inherited from FormValidator
 $_field
 
 $_form
 
 $_message
 
 $_type
 
 $_validator
 

Detailed Description

Form validation check for email addresses.

See also
FormValidatorLocale

Definition at line 20 of file FormValidatorLocaleEmail.inc.php.

Constructor & Destructor Documentation

◆ __construct()

FormValidatorLocaleEmail::__construct ( $form,
  $field,
  $type,
  $message,
  $requiredLocale = null 
)

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)
$requiredLocalestring The symbolic name of the required locale

Reimplemented from FormValidator.

Definition at line 29 of file FormValidatorLocaleEmail.inc.php.


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