3 namespace Nominatim\Token;
5 require_once(CONST_BasePath.'/lib/SpecialSearchOperator.php');
8 * A word token describing a place type.
17 public function __construct($iID, $sClass, $sType, $iOperator)
20 $this->sClass = $sClass;
21 $this->sType = $sType;
22 $this->iOperator = $iOperator;
25 public function debugInfo()
29 'Type' => 'special term',
31 'class' => $this->sClass,
32 'type' => $this->sType,
33 'operator' => Operator::toString($this->iOperator)