function _backup_migrate_get_table_names in Backup and Migrate 6
Same name and namespace in other branches
- 8.2 includes/db.inc \_backup_migrate_get_table_names()
- 5.2 includes/db.inc \_backup_migrate_get_table_names()
- 5 backup_migrate.module \_backup_migrate_get_table_names()
Get the list of table names.
1 call to _backup_migrate_get_table_names()
- backup_migrate_backup in ./
backup_migrate.module - The backup/export form.
File
- ./
backup_migrate.module, line 684 - Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (f.e. cache_*)
Code
function _backup_migrate_get_table_names() {
$out = "";
// 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;
}