include/php-sql-parser.php

Show: inherited
Table of Contents

\PHPSQLParser

Package: SugarCRM

SQL Parser from: http://code.google.com/p/php-sql-parser/ License: New BSD

Properties

Propertypublic  $functions= 'array()'
Default valuearray()Details
Type
n/a
Propertypublic  $reserved= 'array()'
Default valuearray()Details
Type
n/a

Methods

methodpublic__construct(  $sql = false ) : void

Parameters
Name Type Description
$sql
methodprivatecount_backtick(  $token ) : void

Parameters
Name Type Description
$token
methodprivatecount_paren(  $token,  $chars = array('(',')') ) : void

Parameters
Name Type Description
$token
$chars
methodprivateload_reserved_words( ) : void

methodpublicparse(  $sql ) : void

Parameters
Name Type Description
$sql
methodprivateprocess_delete(  $tokens ) : void

Parameters
Name Type Description
$tokens
methodprivateprocess_expr_list(  $tokens ) : void

Parameters
Name Type Description
$tokens
methodprivateprocess_from(  $tokens ) : void

Parameters
Name Type Description
$tokens
methodprivateprocess_group(  $tokens,  $select ) : void

Parameters
Name Type Description
$tokens
$select
methodprivateprocess_insert(  $tokens,  $token_category = 'INSERT' ) : void

Parameters
Name Type Description
$tokens
$token_category
methodprivateprocess_limit(  $tokens ) : void

Parameters
Name Type Description
$tokens
methodprivateprocess_select(  $tokens ) : void

Parameters
Name Type Description
$tokens
methodprivateprocess_select_expr(  $expression ) : void

Parameters
Name Type Description
$expression
methodprivateprocess_set_list(  $tokens ) : void

Parameters
Name Type Description
$tokens
methodprivateprocess_sql(  $tokens,  $start_at = 0,  $stop_at = false ) : void

Parameters
Name Type Description
$tokens
$start_at
$stop_at
methodprivateprocess_update(  $tokens ) : void

Parameters
Name Type Description
$tokens
methodprivatesplit_sql(  $sql ) : void

Parameters
Name Type Description
$sql
methodprivatetrimSubquery(  $sq ) : void

Parameters
Name Type Description
$sq
Documentation was generated by DocBlox 0.18.1.