Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorUri Class Reference
Inheritance diagram for FormValidatorUri:

Public Member Functions

 FormValidatorUri (&$form, $field, $type, $message, $allowedSchemes=null)
- 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 URIs.

See Also

Definition at line 20 of file

Member Function Documentation

FormValidatorUri::FormValidatorUri ( $form,
  $allowedSchemes = null 


$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)
$allowedSchemesarray the allowed URI schemes

Definition at line 29 of file

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