Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (&$form, $field, $type, $message, $symbolic, $assocType, $assocId) | |
Public Member Functions inherited from FormValidator | |
__construct (&$form, $field, $type, $message, $validator=null) | |
getField () | |
getFieldValue () | |
& | getForm () |
getMessage () | |
getType () | |
& | getValidator () |
isEmptyAndOptional () | |
isValid () | |
Additional Inherited Members | |
Data Fields inherited from FormValidator | |
$_field | |
$_form | |
$_message | |
$_type | |
$_validator | |
Form validation check that checks if value is within a certain set.
Definition at line 18 of file FormValidatorControlledVocab.inc.php.
FormValidatorControlledVocab::__construct | ( | & | $form, |
$field, | |||
$type, | |||
$message, | |||
$symbolic, | |||
$assocType, | |||
$assocId | |||
) |
Constructor.
$form | Form the associated form |
$field | string the name of the associated field |
$type | string the type of check, either "required" or "optional" |
$message | string the error message for validation failures (i18n key) |
$symbolic | string |
$assocType | int |
$assocId | int |
Definition at line 29 of file FormValidatorControlledVocab.inc.php.