Open Journal Systems  3.3.0
FormValidatorControlledVocab.inc.php
1 <?php
2 
16 import('lib.pkp.classes.form.validation.FormValidator');
17 
29  function __construct(&$form, $field, $type, $message, $symbolic, $assocType, $assocId) {
30  import('lib.pkp.classes.validation.ValidatorControlledVocab');
31  $validator = new ValidatorControlledVocab($symbolic, $assocType, $assocId);
32  parent::__construct($form, $field, $type, $message, $validator);
33  }
34 }
35 
36 
FormValidatorControlledVocab
Form validation check that checks if value is within a certain set.
Definition: FormValidatorControlledVocab.inc.php:18
ValidatorControlledVocab
Validation check that checks if value is within a certain set retrieved from the database.
Definition: ValidatorControlledVocab.inc.php:19
FormValidator
Class to represent a form validation check.
Definition: FormValidator.inc.php:23
FormValidatorControlledVocab\__construct
__construct(&$form, $field, $type, $message, $symbolic, $assocType, $assocId)
Definition: FormValidatorControlledVocab.inc.php:29