Documentation

Token
in package

Description of Token

Tags
author

zozlak

Table of Contents

Constants

CLOSING_BRACKET  = ')'
MODIFIER  = '/'
NMSP_ASSIGN  = '='
OPENING_BRACKET  = '('
OPERATOR  = 1
QUOTED_STRING  = 3
SIMPLE_STRING  = 2
SORTBY  = 'sortby'

Properties

$andOrNot  : mixed
$boolean  : mixed
$operators  : mixed
$type  : mixed
$value  : mixed

Methods

__construct()  : mixed
getType()  : int
getValue()  : string
isAndOrNot()  : bool
isBoolean()  : bool
isClosingBracket()  : bool
isModifier()  : bool
isNamespaceAssignment()  : bool
isOpeningBracket()  : bool
isOperator()  : bool
isQuotedString()  : bool
isRelation()  : bool
isSimpleString()  : bool
isSortBy()  : bool
isString()  : bool

Constants

CLOSING_BRACKET

public mixed CLOSING_BRACKET = ')'

MODIFIER

public mixed MODIFIER = '/'

NMSP_ASSIGN

public mixed NMSP_ASSIGN = '='

OPENING_BRACKET

public mixed OPENING_BRACKET = '('

OPERATOR

public mixed OPERATOR = 1

QUOTED_STRING

public mixed QUOTED_STRING = 3

SIMPLE_STRING

public mixed SIMPLE_STRING = 2

SORTBY

public mixed SORTBY = 'sortby'

Properties

$andOrNot

private static mixed $andOrNot = ['and', 'or', 'not']

$boolean

private static mixed $boolean = ['and', 'or', 'not', 'prox']

$operators

private static mixed $operators = ['=', '>', '<', '>=', '<=', '<>', '==']

Methods

__construct()

public __construct(string $value, int $type) : mixed
Parameters
$value : string
$type : int

getType()

public getType() : int
Return values
int

getValue()

public getValue() : string
Return values
string

isAndOrNot()

public isAndOrNot() : bool
Return values
bool

isBoolean()

public isBoolean() : bool
Return values
bool

isClosingBracket()

public isClosingBracket() : bool
Return values
bool

isModifier()

public isModifier() : bool
Return values
bool

isNamespaceAssignment()

public isNamespaceAssignment() : bool
Return values
bool

isOpeningBracket()

public isOpeningBracket() : bool
Return values
bool

isOperator()

public isOperator() : bool
Return values
bool

isQuotedString()

public isQuotedString() : bool
Return values
bool

isRelation()

public isRelation() : bool
Return values
bool

isSimpleString()

public isSimpleString() : bool
Return values
bool

isSortBy()

public isSortBy() : bool
Return values
bool

isString()

public isString() : bool
Return values
bool

        
On this page

Search results