You are here

class SelectMatchField in CRM Core 7

Class for handling select fields.

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
DefaultMatchingEngineFieldType::fieldQuery public function Field query to search matches. Overrides DefaultMatchingEngineFieldTypeInterface::fieldQuery 2
DefaultMatchingEngineFieldType::fieldRender public function Template used to render fields matching rules configuration form. Overrides DefaultMatchingEngineFieldTypeInterface::fieldRender 4
DefaultMatchingEngineFieldType::WEIGHT_DELTA constant
SelectMatchField::operators public function Defines logical operators to use with this field. Overrides DefaultMatchingEngineFieldType::operators