SelectMatchField.inc in CRM Core 7
Implementation of DefaultMatchingEngineFieldTypeInterface for select fields.
File
modules/crm_core_default_matching_engine/includes/SelectMatchField.incView source
<?php
/**
* @file
* Implementation of DefaultMatchingEngineFieldTypeInterface for select fields.
*/
/**
* Class for handling select fields.
*/
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'),
);
}
}
Classes
Name | Description |
---|---|
SelectMatchField | Class for handling select fields. |