| category | OSS |
|---|---|
| package | OSS_Validate |
| copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
| license | New BSD License |
__construct(array $params) : void
$fieldName is required and defines the element name to match the value against in the current form / subform context.
arrayArray of params containing fieldName and fieldTitle fields
getFieldName() : string
stringgetFieldTitle() : int
intisValid(string $value, null | array $context) : bool
Returns true if and only if a field name has been set, the field name is available in the context, and the value of that field name matches the provided value.
string
nullarray
\OSS_Validate_Exception |
|---|
bool$_fieldName : string
$_fieldTitle : string
If evaluates to null then will be set to $this->_fieldName.
FIELD_DOESNT_EXIST
NOT_MATCH
NO_FIELD_NAME