[ Index ]
 

Code source de phpMyAdmin 2.10.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libraries/ -> sqlparser.lib.php (sommaire)

Minimum inclusion? (i.e. for the stylesheet builder)

Poids: 2435 lignes (98 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 3 fichiers
 libraries/sqlparser.data.php
 libraries/mysql_charsets.lib.php
 libraries/string.lib.php

Définit 16 fonctions

  PMA_SQP_arrayAdd()
  PMA_SQP_arrayAdd()
  PMA_SQP_resetError()
  PMA_SQP_getErrorString()
  PMA_SQP_isError()
  PMA_SQP_throwError()
  PMA_SQP_bug()
  PMA_SQP_parse()
  PMA_SQP_typeCheck()
  PMA_SQP_analyze()
  PMA_SQP_formatHtml_colorize()
  PMA_SQP_formatHtml()
  PMA_SQP_buildCssRule()
  PMA_SQP_buildCssData()
  PMA_SQP_formatNone()
  PMA_SQP_formatText()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

PMA_SQP_arrayAdd(&$arr, $type, $data, &$arrsize)   X-Ref
Pas de description

PMA_SQP_arrayAdd(&$arr, $type, $data, &$arrsize)   X-Ref
Pas de description

PMA_SQP_resetError()   X-Ref
Reset the error variable for the SQL parser


PMA_SQP_getErrorString()   X-Ref
Get the contents of the error variable for the SQL parser

return: string Error string from SQL parser

PMA_SQP_isError()   X-Ref
Check if the SQL parser hit an error

return: boolean error state

PMA_SQP_throwError($message, $sql)   X-Ref
Set an error message for the system

param: string  The error message
param: string  The failing SQL query

PMA_SQP_bug($message, $sql)   X-Ref
Do display the bug report

param: string  The error message
param: string  The failing SQL query

PMA_SQP_parse($sql)   X-Ref
Parses the SQL queries

param: string   The SQL query list
return: mixed    Most of times, nothing...

PMA_SQP_typeCheck($toCheck, $whatWeWant)   X-Ref
Checks for token types being what we want...

param: string String of type that we have
param: string String of type that we want
return: boolean result of check

PMA_SQP_analyze($arr)   X-Ref
Analyzes SQL queries

param: array   The SQL queries
return: array   The analyzed SQL queries

PMA_SQP_formatHtml_colorize($arr)   X-Ref
Colorizes SQL queries html formatted

param: array   The SQL queries html formatted
return: array   The colorized SQL queries

PMA_SQP_formatHtml($arr, $mode='color', $start_token=0,$number_of_tokens=-1)   X-Ref
Formats SQL queries to html

param: array   The SQL queries
param: string  mode
param: integer starting token
param: integer number of tokens to format, -1 = all
return: string  The formatted SQL queries

PMA_SQP_buildCssRule($classname, $property, $value)   X-Ref
Builds a CSS rule used for html formatted SQL queries

param: string  The class name
param: string  The property name
param: string  The property value
return: string  The CSS rule

PMA_SQP_buildCssData()   X-Ref
Builds CSS rules used for html formatted SQL queries

return: string  The CSS rules set

PMA_SQP_formatNone($arr)   X-Ref
Gets SQL queries with no format

param: array   The SQL queries list
return: string  The SQL queries with no format

PMA_SQP_formatText($arr)   X-Ref
Gets SQL queries in text format

param: array   The SQL queries list
return: string  The SQL queries in text format



Généré le : Mon Nov 26 15:18:20 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics