Solutions Open Source

Référence de la classe ADODB_pdo_mysql

Graphe d'héritage de ADODB_pdo_mysql:

Inheritance graph
[légende]
Graphe de collaboration de ADODB_pdo_mysql:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 _init ($parentDriver)
 OffsetDate ($dayFraction, $date=false)
 ServerInfo ()
MetaTables ($ttype=false, $showSchema=false, $mask=false)
 SetTransactionMode ($transaction_mode)
MetaColumns ($table)
SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs=0)

Attributs publics

 $metaTablesSQL = "SHOW TABLES"
 $metaColumnsSQL = "SHOW COLUMNS FROM `%s`"
 $sysDate = 'CURDATE()'
 Use 'true' to store the item compressed (uses zlib).
 $sysTimeStamp = 'NOW()'
 name of function that returns the current date
 $nameQuote = '`'
 string to use to replace quotes


Documentation des fonctions membres

ADODB_pdo_mysql::_init ( parentDriver  ) 

ADODB_pdo_mysql::OffsetDate ( dayFraction,
date = false 
)

Réimplémentée à partir de ADOConnection.

ADODB_pdo_mysql::ServerInfo (  ) 

Get server version info...

Renvoie:
An array with 2 elements: $arr['string'] is the description string, and $arr[version] is the version (also a string).

Réimplémentée à partir de ADODB_pdo.

& ADODB_pdo_mysql::MetaTables ( ttype = false,
showSchema = false,
mask = false 
)

Paramètres:
ttype can either be 'VIEW' or 'TABLE' or false. If false, both views and tables are returned. "VIEW" returns only views "TABLE" returns only tables
showSchema returns the schema/user with the table name, eg. USER.TABLE
mask is the input mask - only supported by oci8 and postgresql
Renvoie:
array of tables for current database.

Réimplémentée à partir de ADODB_pdo.

ADODB_pdo_mysql::SetTransactionMode ( transaction_mode  ) 

Réimplémentée à partir de ADOConnection.

& ADODB_pdo_mysql::MetaColumns ( table  ) 

& ADODB_pdo_mysql::SelectLimit ( sql,
nrows = -1,
offset = -1,
inputarr = false,
secs2cache = 0 
)

Will select, getting rows from $offset (1-based), for $nrows. This simulates the MySQL "select * from table limit $offset,$nrows" , and the PostgreSQL "select * from table limit $nrows offset $offset". Note that MySQL and PostgreSQL parameter ordering is the opposite of the other. eg. SelectLimit('select * from table',3); will return rows 1 to 3 (1-based) SelectLimit('select * from table',3,2); will return rows 3 to 5 (1-based)

Uses SELECT TOP for Microsoft databases (when $this->hasTop is set) BUG: Currently SelectLimit fails with $sql with LIMIT or TOP clause already set

Paramètres:
sql 
[offset] is the row to start calculations from (1-based)
[nrows] is the number of rows to get
[inputarr] array of bind variables
[secs2cache] is a private parameter only used by jlim
Renvoie:
the recordset ($rs->databaseType == 'array')

Réimplémentée à partir de ADODB_pdo.


Documentation des données membres

ADODB_pdo_mysql::$metaTablesSQL = "SHOW TABLES"

Réimplémentée à partir de ADOConnection.

ADODB_pdo_mysql::$metaColumnsSQL = "SHOW COLUMNS FROM `%s`"

ADODB_pdo_mysql::$sysDate = 'CURDATE()'

Use 'true' to store the item compressed (uses zlib).

Réimplémentée à partir de ADOConnection.

ADODB_pdo_mysql::$sysTimeStamp = 'NOW()'

name of function that returns the current date

Réimplémentée à partir de ADOConnection.

ADODB_pdo_mysql::$nameQuote = '`'

string to use to replace quotes

Réimplémentée à partir de ADOConnection.


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:40:01 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3