function backup_migrate_destination_db_mysql::_get_table_names in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_table_names()
- 8.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_table_names()
- 7.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_table_names()
- 7.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_table_names()
Get a list of tables in the database.
Overrides backup_migrate_destination_db::_get_table_names
File
- includes/
destinations.db.mysql.inc, line 154 - Functions to handle the direct to database destination.
Class
- backup_migrate_destination_db_mysql
- A destination type for saving to a database server.
Code
function _get_table_names() {
$out = array();
foreach ($this
->_get_tables() as $table) {
$out[$table['Name']] = $table['Name'];
}
return $out;
}