You are here

function backup_migrate_source_db::get_table_names in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/sources.db.inc \backup_migrate_source_db::get_table_names()
  2. 7.3 includes/sources.db.inc \backup_migrate_source_db::get_table_names()

Get a list of tables in the database.

2 calls to backup_migrate_source_db::get_table_names()
backup_migrate_source_db::backup_settings_form in includes/sources.db.inc
Get the form for the backup settings for this destination.
backup_migrate_source_db::lock_tables in includes/sources.db.inc
Lock the database in anticipation of a backup.

File

includes/sources.db.inc, line 194
Functions to handle the direct to database destination.

Class

backup_migrate_source_db
A destination type for saving to a database server.

Code

function get_table_names() {

  // Switch to a different db if specified.
  $this
    ->switch_db();

  // Must be overridden.
  $out = $this
    ->_get_table_names();
  $this
    ->switch_db(TRUE);
  return $out;
}