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

Public Member Functions

 FormValidatorControlledVocab (&$form, $field, $type, $message, $symbolic, $assocType, $assocId)
 
- 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 that checks if value is within a certain set.

Definition at line 18 of file FormValidatorControlledVocab.inc.php.

Member Function Documentation

FormValidatorControlledVocab::FormValidatorControlledVocab ( $form,
  $field,
  $type,
  $message,
  $symbolic,
  $assocType,
  $assocId 
)

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)
$symbolicstring
$assocTypeint
$assocIdint

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


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