프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$options |
메소드 | 설명 | |
---|---|---|
__construct ( |
AbstractProcessor constructor. | |
process ( $tokens ) | This function implements the main functionality of a processor class. | |
processComment ( $expression ) | ||
splitSQLIntoTokens ( $sql ) | this function splits up a SQL statement into easy to "parse" tokens for the SQL processor | |
toArray ( $tokenList ) | translates an array of objects into an associative array |
메소드 | 설명 | |
---|---|---|
array_insert_after ( $array, $key, $entry ) | ||
getVariableType ( $expression ) | ||
isAggregateFunction ( $out ) | ||
isBracketExpression ( $out ) | ||
isColumnReference ( $out ) | ||
isCommaToken ( $token ) | ||
isComment ( $out ) | ||
isCommentToken ( $token ) | ||
isConstant ( $out ) | ||
isCustomFunction ( $out ) | ||
isExpression ( $out ) | ||
isFunction ( $out ) | ||
isReserved ( $out ) | ||
isSubQuery ( $out ) | ||
isWhitespaceToken ( $token ) | ||
removeParenthesisFromStart ( $token ) | This method removes parenthesis from start of the given string. | |
revokeQuotation ( $sql ) | Revokes the quoting characters from an expression Possibibilies: a 'a' "a" a.b a.b a.b a.b It is also possible to have escaped quoting characters within an expression part: ab => ab And you can use whitespace between the parts: a . b => [a,b] |
public __construct ( |
||
$options |
abstract public process ( $tokens ) |
protected removeParenthesisFromStart ( $token ) |
protected revokeQuotation ( $sql ) |
public splitSQLIntoTokens ( $sql ) |
public toArray ( $tokenList ) |