function backup_migrate_source_db_mysql::_get_table_names in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::_get_table_names()
- 7.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::_get_table_names()
Get a list of tables in the database.
Overrides backup_migrate_source_db::_get_table_names
File
- includes/
sources.db.mysql.inc, line 240 - Functions to handle the direct to database source.
Class
- backup_migrate_source_db_mysql
- A source type for backing up from database server.
Code
function _get_table_names() {
$out = array();
foreach ($this
->_get_tables() as $table) {
$out[$table['name']] = $table['name'];
}
return $out;
}