16 import (
'lib.pkp.classes.form.validation.FormValidator');
35 function __construct(&$form, $field, $type, $message, $comparator, $length) {
36 parent::__construct($form, $field, $type, $message);
37 $this->_comparator = $comparator;
38 $this->_length = $length;
50 return __($this->_message, array(
'length' => $this->_length));
68 switch ($this->_comparator) {