Term
in package
Description of Term
Tags
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
$parent
public
Term
$parent
$termLeft
public
mixed
$termLeft
$termRight
public
mixed
$termRight
$operatorMap
private
static mixed
$operatorMap
= ['and' => '&', 'or' => '|', 'not' => '&!']
Methods
__toString()
public
__toString() : string
Return values
stringasTsquery()
public
asTsquery() : string
Return values
stringpopTerm()
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