You are here

function _backup_migrate_get_table_names in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 5.2 includes/db.inc \_backup_migrate_get_table_names()
  2. 5 backup_migrate.module \_backup_migrate_get_table_names()
  3. 6 backup_migrate.module \_backup_migrate_get_table_names()

Get the list of table names.

File

includes/db.inc, line 72
General database dump/restore code for Backup and Migrate.

Code

function _backup_migrate_get_table_names($source) {
  $out = array();
  if ($source && ($type = _backup_migrate_db_get_db_type($source->dest_url['scheme']))) {
    $function = '_backup_migrate_get_table_names_' . $type;
    if (function_exists($function)) {
      $out = $function();
    }
  }
  return $out;
}