class SelectMatchField in CRM Core 7
Class for handling select fields.
Hierarchy
- class \DefaultMatchingEngineFieldType implements DefaultMatchingEngineFieldTypeInterface
- class \SelectMatchField
Expanded class hierarchy of SelectMatchField
File
- modules/
crm_core_default_matching_engine/ includes/ SelectMatchField.inc, line 11 - Implementation of DefaultMatchingEngineFieldTypeInterface for select fields.
View source
class SelectMatchField extends DefaultMatchingEngineFieldType {
/**
* Defines logical operators to use with this field.
*
* This operators would be interpreted in fieldQuery() method.
*
* @return array
* Assoc array of operators.
*/
public function operators() {
return array(
'equals' => t('Equals'),
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultMatchingEngineFieldType:: |
public | function |
Field query to search matches. Overrides DefaultMatchingEngineFieldTypeInterface:: |
2 |
DefaultMatchingEngineFieldType:: |
public | function |
Template used to render fields matching rules configuration form. Overrides DefaultMatchingEngineFieldTypeInterface:: |
4 |
DefaultMatchingEngineFieldType:: |
constant | |||
SelectMatchField:: |
public | function |
Defines logical operators to use with this field. Overrides DefaultMatchingEngineFieldType:: |