Riferimenti per il file typo3_src-3.8.1/typo3/ext/phpmyadmin/modsub/phpMyAdmin-2.6.4-pl3/libraries/sqlvalidator.class.php

Vai al codice sorgente di questo file.

Funzioni

 _openSession ($obj, $username, $password, $calling_program, $calling_program_version, $target_dbms, $target_dbms_version, $connection_technology, $connection_technology_version, $interactive)
 _validateSQL ($obj, $session, $sql, $method)
 _validate ($sql)
 PMA_SQLValidator ()
 setCredentials ($username, $password)
 setCallingProgram ($calling_program, $calling_program_version)
 appendCallingProgram ($calling_program, $calling_program_version)
 setTargetDbms ($target_dbms, $target_dbms_version)
 appendTargetDbms ($target_dbms, $target_dbms_version)
 setConnectionTechnology ($connection_technology, $connection_technology_version)
 appendConnectionTechnology ($connection_technology, $connection_technology_version)
 setInteractive ($interactive)
 setOutputType ($output_type)
 startService ()
 startSession ()
 start ()
 isValid ($sql)
 validationString ($sql)

Variabili

return $obj


Documentazione delle funzioni

_openSession obj,
username,
password,
calling_program,
calling_program_version,
target_dbms,
target_dbms_version,
connection_technology,
connection_technology_version,
interactive
 

Service initializer to connect to server

Parametri:
object Service object
string Username
string Password
string Name of calling program
string Version of calling program
string Target DBMS
string Version of target DBMS
string Connection Technology
string version of Connection Technology
integer boolean of 1/0 to specify if we are an interactive system
Restituisce:
object stdClass return object with data
private

Definizione alla linea 99 del file sqlvalidator.class.php.

Riferimenti $obj.

_validate sql  ) 
 

Validator sytem call

Parametri:
string SQL Query to validate
Restituisce:
object stdClass return with data
private

Vedi anche:
validateSQL()

Definizione alla linea 153 del file sqlvalidator.class.php.

Riferimenti $sql, e _validateSQL().

Questo è il grafo delle chiamate per questa funzione:

_validateSQL obj,
session,
sql,
method
 

Validator sytem call

Parametri:
object Service object
object Session object
string SQL Query to validate
string Data return type
Restituisce:
object stClass return with data
private

Definizione alla linea 131 del file sqlvalidator.class.php.

Riferimenti $obj, $res, e $sql.

appendCallingProgram calling_program,
calling_program_version
 

Appends the calling program

Parametri:
string the calling program name
string the calling program revision
public

Definizione alla linea 231 del file sqlvalidator.class.php.

appendConnectionTechnology connection_technology,
connection_technology_version
 

Appends the connection technology used

Parametri:
string the connection technology name
string the connection technology revision
public

Definizione alla linea 291 del file sqlvalidator.class.php.

appendTargetDbms target_dbms,
target_dbms_version
 

Appends the target DBMS

Parametri:
string the target DBMS name
string the target DBMS revision
public

Definizione alla linea 261 del file sqlvalidator.class.php.

isValid sql  ) 
 

Call to determine just if a query is valid or not.

Parametri:
string SQL statement to validate
Restituisce:
string Validator string from Mimer
Vedi anche:
_validate

Definizione alla linea 380 del file sqlvalidator.class.php.

Riferimenti $res, $sql, e _validate().

Questo è il grafo delle chiamate per questa funzione:

PMA_SQLValidator  ) 
 

Constructor

public

Definizione alla linea 170 del file sqlvalidator.class.php.

setCallingProgram calling_program,
calling_program_version
 

Sets the calling program

Parametri:
string the calling program name
string the calling program revision
public

Definizione alla linea 216 del file sqlvalidator.class.php.

setConnectionTechnology connection_technology,
connection_technology_version
 

Sets the connection technology used

Parametri:
string the connection technology name
string the connection technology revision
public

Definizione alla linea 276 del file sqlvalidator.class.php.

setCredentials username,
password
 

Sets credentials

Parametri:
string the username
string the password
public

Definizione alla linea 201 del file sqlvalidator.class.php.

setInteractive interactive  ) 
 

Sets whether interactive mode should be used or not

Parametri:
integer whether interactive mode should be used or not
public

Definizione alla linea 305 del file sqlvalidator.class.php.

setOutputType output_type  ) 
 

Sets the output type to use

Parametri:
string the output type to use
public

Definizione alla linea 318 del file sqlvalidator.class.php.

setTargetDbms target_dbms,
target_dbms_version
 

Sets the target DBMS

Parametri:
string the target DBMS name
string the target DBMS revision
public

Definizione alla linea 246 del file sqlvalidator.class.php.

start  ) 
 

Do start service and session

public

Definizione alla linea 364 del file sqlvalidator.class.php.

Riferimenti startService(), e startSession().

Questo è il grafo delle chiamate per questa funzione:

startService  ) 
 

Starts service

public

Definizione alla linea 329 del file sqlvalidator.class.php.

startSession  ) 
 

Starts session

public

Definizione alla linea 342 del file sqlvalidator.class.php.

Riferimenti _openSession(), e startService().

Questo è il grafo delle chiamate per questa funzione:

validationString sql  ) 
 

Call for complete validator response

Parametri:
string SQL statement to validate
Restituisce:
string Validator string from Mimer
Vedi anche:
_validate

Definizione alla linea 396 del file sqlvalidator.class.php.

Riferimenti $res, $sql, e _validate().

Questo è il grafo delle chiamate per questa funzione:


Documentazione delle variabili

return $obj
 

Definizione alla linea 77 del file sqlvalidator.class.php.


Generato il Thu Jan 19 15:26:49 2006 per TYPO3 versione 3.8.1 da  doxygen 1.4.6