![]() |
|
Database abstraction, containing all the defined methods. More...
Public Member Functions | |
DatabaseConnection ($db_settings) | |
debugQueries () | |
tablePrefix () | |
Data Fields | |
$_debug_queries = false | |
$_table_prefix = '' | |
Protected Member Functions | |
connect ($base, $server, $user, $pass) | |
Database abstraction, containing all the defined methods.
DatabaseConnection | ( | $db_settings | ) |
Constructor
|
abstractprotected |
Connection method
string | $base | : the database to connect to |
string | $server | : the server name |
string | $user | : user for the database |
string | $pass | : password for the database |
debugQueries | ( | ) |
tablePrefix | ( | ) |
$_debug_queries = false |
bool : true if query-debug is enabled
$_table_prefix = '' |
string : In case the database contains tables from other web applications, it's good practice to add a common prefix to all tables used within this application