gino CMS  2.5.0
gino รจ un CMS scritto in PHP che offre tutti gli strumenti necessari per poter creare un sito web e gestire i contenuti al suo interno in maniera semplice ed efficace, svincolando l'amministratore da conoscenze tecniche di programmazione
SqlParse Class Reference

Classe per gestire il parser dei file sql (Code freely adapted from phpBB Group) More...

Static Public Member Functions

static remove_comments (&$output)
 Strip the sql comment lines out of an uploaded sql file specifically for mssql and postgres type files in the install. More...
 
static remove_remarks ($sql)
 Strip the sql comment lines out of an uploaded sql file. More...
 
static split_sql_file ($sql, $delimiter)
 Split an uploaded sql file into single sql statements. More...
 
static getQueries ($options=array())
 Elenco delle singole query presenti in un file sql. More...
 

Detailed Description

Classe per gestire il parser dei file sql (Code freely adapted from phpBB Group)

Author
marco guidotti guido.nosp@m.ttim.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
abidibo abidi.nosp@m.bo@g.nosp@m.mail..nosp@m.com

Member Function Documentation

static getQueries (   $options = array())
static

Elenco delle singole query presenti in un file sql.

Parameters
string$optionsarray associativo di opzioni
  • file_schema (string): percorso al file sql
  • content_schema (string): contenuto del file sql
Returns
array (query)
static remove_comments ( $output)
static

Strip the sql comment lines out of an uploaded sql file specifically for mssql and postgres type files in the install.

Parameters
string$output
Returns
string
static remove_remarks (   $sql)
static

Strip the sql comment lines out of an uploaded sql file.

Parameters
string$sqlfile contents
Returns
array
static split_sql_file (   $sql,
  $delimiter 
)
static

Split an uploaded sql file into single sql statements.

Note: expects trim() to have already been run on $sql.

Parameters
string$sqlfile contents
string$delimiterdelimiter
Returns
array

The documentation for this class was generated from the following file: