Pluf_DB_getConnection()
Pluf_DB_getConnection( $extra = null)
Get the default DB connection.
The default database connection is defined in the configuration file through the following configuration variables:
- db_login : Login to connect to the database
- db_password : Password to the database
- db_server : Name of the server
- db_database : Name of the database
- db_table_prefix : Prefix for the table names
- db_version : Version of the database engine
- db_engine : Engine for exampe 'MySQL', 'SQLite'
Once the first connection is created the following calls to Pluf::db() are getting the same connection.
Parameters
$extra |