Check for one of the two values being filled
| package | Gems |
|---|---|
| subpackage | Validate |
| copyright | Copyright (c) 2012 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.6 |
__construct($description, string $fieldName, $fieldDescription) : void
stringField name against which to validate $param string $fieldDescription Description of field name against which to validate
isValid(mixed $value, $context = array()) : boolean
Returns true if and only if a token has been set and the provided value matches that token.
mixed
boolean$_description
$_fieldDescription : string
$_fieldName : string
NEITHER = 'neither'
| const | string |
|---|