\PositionCalculator

This class calculates the positions of base_expr within the original SQL statement.

Summary

Methods
Properties
Constants
setPositionsWithinSQL()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_printPos()
findPositionWithinString()
lookForBaseExpression()
$_allowedOnOperator
$_allowedOnOther
N/A

Properties

$_allowedOnOperator

$_allowedOnOperator : 

Type

$_allowedOnOther

$_allowedOnOther : 

Type

Methods

setPositionsWithinSQL()

setPositionsWithinSQL(  $sql,   $parsed) 

Parameters

$sql
$parsed

_printPos()

_printPos(  $text,   $sql,   $charPos,   $key,   $parsed,   $backtracking) 

Parameters

$text
$sql
$charPos
$key
$parsed
$backtracking

findPositionWithinString()

findPositionWithinString(  $sql,   $value,   $expr_type) 

Parameters

$sql
$value
$expr_type

lookForBaseExpression()

lookForBaseExpression(  $sql,   $charPos,   $parsed,   $key,   $backtracking) 

Parameters

$sql
$charPos
$parsed
$key
$backtracking