public function backup_migrate_destination_db_mysql::_get_tables in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_tables()
- 8.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_tables()
- 6.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_tables()
- 7.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::_get_tables()
Get a list of tables in the db.
3 calls to backup_migrate_destination_db_mysql::_get_tables()
- backup_migrate_destination_db_mysql::_backup_db_to_file in includes/
destinations.db.mysql.inc - Backup the databases to a file.
- backup_migrate_destination_db_mysql::_backup_db_to_file_mysqldump in includes/
destinations.db.mysql.inc - Backup the databases to a file using the mysqldump command.
- backup_migrate_destination_db_mysql::_restore_db_from_file in includes/
destinations.db.mysql.inc - Backup the databases to a file.
File
- includes/
destinations.db.mysql.inc, line 359 - Functions to handle the direct to database destination.
Class
- backup_migrate_destination_db_mysql
- A destination type for saving to a database server.
Code
public function _get_tables() {
$out = array();
foreach ($this
->get_table_data() as $table) {
if (!empty($table['engine'])) {
$out[$table['name']] = $table;
}
}
return $out;
}