You are here

function backup_migrate_source_db_mysql::_get_table_names in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::_get_table_names()
  2. 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 224
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;
}