Token
in package
Description of Token
Tags
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
= ['=', '>', '<', '>=', '<=', '<>', '==']
$type
private
mixed
$type
$value
private
mixed
$value
Methods
__construct()
public
__construct(string $value, int $type) : mixed
Parameters
- $value : string
- $type : int
getType()
public
getType() : int
Return values
intgetValue()
public
getValue() : string
Return values
stringisAndOrNot()
public
isAndOrNot() : bool
Return values
boolisBoolean()
public
isBoolean() : bool
Return values
boolisClosingBracket()
public
isClosingBracket() : bool
Return values
boolisModifier()
public
isModifier() : bool
Return values
boolisNamespaceAssignment()
public
isNamespaceAssignment() : bool
Return values
boolisOpeningBracket()
public
isOpeningBracket() : bool
Return values
boolisOperator()
public
isOperator() : bool
Return values
boolisQuotedString()
public
isQuotedString() : bool
Return values
boolisRelation()
public
isRelation() : bool
Return values
boolisSimpleString()
public
isSimpleString() : bool
Return values
boolisSortBy()
public
isSortBy() : bool
Return values
boolisString()
public
isString() : bool