You are here

BatStateSearchAPIQuery.php in Booking and Availability Management Tools for Drupal 7

File

modules/bat_facets/src/BatStateSearchAPIQuery.php
View source
<?php

/**
 * @file
 */

/**
 *
 */
class BatStateSearchAPIQuery implements FacetapiQueryTypeInterface {

  /**
   * Implements FacetapiQueryTypeInterface::getType().
   */
  public static function getType() {
    return 'bat_state';
  }

  /**
   * Implements FacetapiQueryTypeInterface::execute().
   */
  public function execute($query) {
  }

  /**
   * Implements FacetapiQueryTypeInterface::build().
   *
   * Unlike normal facets, we provide a static list of options.
   */
  public function build() {
    $build = array();
    return $build;
  }

}

Classes