You are here

public function UnsupportedFieldMatchField::operators in CRM Core 7

Each field handler MUST implement this method.

Must return associative array of supported operators for current field. By default now supports only this keys: 'equals', 'starts', 'ends', 'contains'. In case you need additional operators you must implement this method and DefaultMatchingEngineFieldTypeInterface::fieldQuery.

Return value

array Assoc array, keys must be

Overrides DefaultMatchingEngineFieldType::operators

File

modules/crm_core_default_matching_engine/includes/DefaultMatchingEngine.inc, line 258

Class

UnsupportedFieldMatchField

Code

public function operators() {
  return array();
}