<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Utils\FilterSearch;

use Kufer\Web\KuferTools\Utils\FilterSearch\Method\ContainsStringMethod;

class KursorteSearchFilter extends ToolSearchFilter
{
  public function __construct()
  {
    parent::__construct();

    $this->addSearch(
      'mktext',
      new ContainsStringMethod('Text')
    );

    $this->addSearch(
      'gebaeude',
      new ContainsStringMethod('Gebaeude')
    );

    $this->addSearch(
      'gemeinde',
      new ContainsStringMethod('Gemeinde')
    );

    $this->addSearch(
      'stadtteil',
      new ContainsStringMethod('Stadtteil')
    );

    $this->addSearch(
      'bundesland',
      new ContainsStringMethod('Bundesland')
    );

    $this->addSearch(
      'bezirk',
      new ContainsStringMethod('Bezirk')
    );

    $this->addSearch(
      'strasse',
      new ContainsStringMethod('Strasse')
    );

    $this->addSearch(
      'ort',
      new ContainsStringMethod('Ort')
    );
  }
}