.

DriverSwitch
[DB]

Allows switching the driver (this is: the connection) of an already existing table. More...

Classes

class   DBTableDriverSwitch
  Change driver of given DBTable. More...

Detailed Description

Allows switching the driver (this is: the connection) of an already existing table.

Usage

To switch a given table to a new driver, call

 DBTableDriverSwitch::switch_table($table_name, $driver);

If you do this for a module's tables, place this code in app/enabled.inc.php.