manip = new $class; } /** * List tables for the current database * * @return mixed */ public function get_tables() { //Not possible reliably with this driver return FALSE; } /** * List system tables for the current database/connection * * @return array */ public function get_system_tables() { //No way of determining for ODBC return array(); } /** * Empty the current database * * @return void */ public function truncate($table) { $sql = "DELETE FROM {$table}"; $this->query($sql); } /** * Return the number of rows returned for a SELECT query * * @return int */ public function num_rows() { // TODO: Implement } } // End of odbc.php