| [ Index ] |
PHP Cross Reference of BackPress |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 196 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file includes/class.bpdb.php |
BPDB_Multi:: (6 methods):
__construct()
db_connect()
set_prefix()
get_table_from_query()
add_db_server()
add_db_table()
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: Wed Nov 12 01:00:55 2025 | Cross-referenced by PHPXref 0.7.1 |