You are here

SelectMatchField.inc in CRM Core 7

Implementation of DefaultMatchingEngineFieldTypeInterface for select fields.

File

modules/crm_core_default_matching_engine/includes/SelectMatchField.inc
View 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

Namesort descending Description
SelectMatchField Class for handling select fields.