Documentation

Term
in package

Description of Term

Tags
author

zozlak

Table of Contents

Properties

$operator  : mixed
$parent  : Term
$termLeft  : mixed
$termRight  : mixed
$operatorMap  : mixed

Methods

__toString()  : string
asTsquery()  : string
popTerm()  : mixed
pushTerm()  : mixed
setOperator()  : void
singleTermAsTsquery()  : string

Properties

$operator

public mixed $operator

$termLeft

public mixed $termLeft

$termRight

public mixed $termRight

$operatorMap

private static mixed $operatorMap = ['and' => '&', 'or' => '|', 'not' => '&!']

Methods

__toString()

public __toString() : string
Return values
string

asTsquery()

public asTsquery() : string
Return values
string

popTerm()

public popTerm() : mixed

pushTerm()

public pushTerm(mixed $term) : mixed
Parameters
$term : mixed

setOperator()

public setOperator(string $operator) : void
Parameters
$operator : string

singleTermAsTsquery()

private singleTermAsTsquery(mixed $term) : string
Parameters
$term : mixed
Return values
string

        
On this page

Search results