contributions/db.driverswitch/doxygen.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * @defgroup DriverSwitch 00004 * @ingroup DB 00005 * 00006 * Allows switching the driver (this is: the connection) of an already existing table. 00007 * 00008 * @section Usage Usage 00009 * 00010 * To switch a given table to a new driver, call 00011 * 00012 * @code 00013 * DBTableDriverSwitch::switch_table($table_name, $driver); 00014 * @endcode 00015 * 00016 * If you do this for a module's tables, place this code in app/enabled.inc.php. 00017 */