[ Index ]

PHP Cross Reference of BackPress




/includes/ -> class.bpdb-multi.php (summary)

(no description)

File Size: 196 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file

Defines 1 class

BPDB_Multi:: (6 methods):

Class: BPDB_Multi  - X-Ref

__construct()   X-Ref
No description

db_connect( $query = '' )   X-Ref
Figure out which database server should handle the query, and connect to it.

return: resource mysql database connection
param: string query

set_prefix( $prefix, $tables = false )   X-Ref
Sets the prefix of the database tables

return: string the previous prefix (mostly only meaningful if all $table parameter was false)
param: string prefix
param: false|array tables (optional: false)

get_table_from_query( $q )   X-Ref
Find the first table name referenced in a query

return: string table
param: string query

add_db_server( $ds, $args = null )   X-Ref
Add a database server's information.  Does not automatically connect.

param: string $ds Dataset: the name of the dataset.
param: array $args

add_db_table( $ds, $table )   X-Ref
Maps a table to a dataset.

param: string $ds Dataset: the name of the dataset.
param: string $table

Generated: Tue Jun 28 01:00:50 2022 Cross-referenced by PHPXref 0.7.1