[ Index ] |
PHP Cross Reference of BuddyPress |
[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 src/bp-forums/bbpress/bb-includes/backpress/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. param: string query return: resource mysql database connection |
set_prefix( $prefix, $tables = false ) X-Ref |
Sets the prefix of the database tables param: string prefix param: false|array tables (optional: false) return: string the previous prefix (mostly only meaningful if all $table parameter was false) |
get_table_from_query( $q ) X-Ref |
Find the first table name referenced in a query param: string query return: string table |
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 Dec 3 01:00:55 2024 | Cross-referenced by PHPXref 0.7.1 |