[ Index ] |
|
Code source de CMS made simple 1.0.5 |
[Code source] [Imprimer] [Statistiques]
ADOdb Lite is a PHP class to encapsulate multiple database APIs and is compatible with a subset of the ADODB Command Syntax. Currently supports Frontbase, MaxDB, miniSQL, MSSQL, MSSQL Pro, MySQLi, MySQLt, MySQL, PostgresSQL, PostgresSQL64, PostgresSQL7, PostgresSQL8, SqLite, SqLite Pro, Sybase and Sybase ASE.
Poids: | 365 lignes (9 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers lib/adodb_lite/adodb-datadict.inc.php lib/adodb_lite/adodb.config.php |
ADOConnection:: (9 méthodes):
ADOConnection()
Version()
IsConnected()
Connect()
PConnect()
NConnect()
Execute()
SelectLimit()
outp()
ADORecordSet_empty:: (5 méthodes):
MoveNext()
RecordCount()
FieldCount()
EOF()
Close()
ADOFieldObject:: (0 méthodes):
Classe: ADOConnection - X-Ref
ADOConnection() X-Ref |
Pas de description |
Version() X-Ref |
Returns floating point version number of ADOdb Lite Usage: $db->Version(); |
IsConnected() X-Ref |
Returns true if connected to database Usage: $db->IsConnected(); |
Connect( $host = "", $username = "", $password = "", $database = "", $forcenew = false) X-Ref |
Normal Database connection Usage: $result = $db->Connect('host', 'username', 'password', 'database'); param: string $database param: string $host param: string $password param: string $username param: string $forcenew // private |
PConnect( $host = "", $username = "", $password = "", $database = "") X-Ref |
Persistent Database connection Usage: $result = $db->PConnect('host', 'username', 'password', 'database'); param: string $database param: string $host param: string $password param: string $username |
NConnect( $host = "", $username = "", $password = "", $database = "") X-Ref |
Force New Database connection Usage: $result = $db->NConnect('host', 'username', 'password', 'database'); param: string $database param: string $host param: string $password param: string $username |
Execute( $sql, $inputarr = false ) X-Ref |
Returns SQL query and instantiates sql statement & resultset driver Usage: $linkId =& $db->execute( 'SELECT * FROM foo ORDER BY id' ); param: string $sql return: mixed Resource ID, Array |
SelectLimit( $sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0 ) X-Ref |
Returns SQL query and instantiates sql statement & resultset driver Usage: $linkId =& $db->SelectLimit( 'SELECT * FROM foo ORDER BY id', $nrows, $offset ); $nrows and $offset are optional param: string $sql param: string $nrows param: string $offset return: mixed Resource ID, Array |
outp($text, $newline = true) X-Ref |
Display debug output and database error. |
Classe: ADORecordSet_empty - X-Ref
Empty result record set for updates, inserts, ectMoveNext() X-Ref |
Pas de description |
RecordCount() X-Ref |
Pas de description |
FieldCount() X-Ref |
Pas de description |
EOF() X-Ref |
Pas de description |
Close() X-Ref |
Pas de description |
Classe: ADOFieldObject - X-Ref
ADONewConnection( $dbtype = 'mysql', $modules = '' ) X-Ref |
Database connection Usage: $db = new ADONewConnection('dbtype'); param: string $dbtype |
NewADOConnection($dbtype='', $module = '' ) X-Ref |
Alternative Database connection Usage: $db = new NewADOConnection('dbtype'); param: string $dbtype |
NewDataDictionary(&$connection, $dbtype=false) X-Ref |
Pas de description |
Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |