function backup_migrate_destination_db::get_table_names in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/destinations.db.inc \backup_migrate_destination_db::get_table_names()
- 8.3 includes/destinations.db.inc \backup_migrate_destination_db::get_table_names()
- 7.3 includes/destinations.db.inc \backup_migrate_destination_db::get_table_names()
- 7.2 includes/destinations.db.inc \backup_migrate_destination_db::get_table_names()
Get a list of tables in the database.
2 calls to backup_migrate_destination_db::get_table_names()
- backup_migrate_destination_db::backup_settings_form in includes/
destinations.db.inc - Get the form for the backup settings for this destination.
- backup_migrate_destination_db::lock_tables in includes/
destinations.db.inc - Lock the database in anticipation of a backup.
File
- includes/
destinations.db.inc, line 218 - Functions to handle the direct to database destination.
Class
- backup_migrate_destination_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;
}