function _backup_migrate_get_table_names in Backup and Migrate 5.2
Same name and namespace in other branches
- 8.2 includes/db.inc \_backup_migrate_get_table_names()
- 5 backup_migrate.module \_backup_migrate_get_table_names()
- 6 backup_migrate.module \_backup_migrate_get_table_names()
Get the list of table names.
1 call to _backup_migrate_get_table_names()
- _backup_migrate_ui_backup_settings_form in includes/
profiles.inc - Get a form to configure the profile.
File
- includes/
db.inc, line 164 - General database dump/restore code for Backup and Migrate.
Code
function _backup_migrate_get_table_names() {
$out = array();
// Get auto_increment values and names of all tables.
$tables = db_query("show table status");
while ($table = db_fetch_array($tables)) {
$out[$table['Name']] = $table['Name'];
}
return $out;
}