1 backup.mysql.inc | protected BackupMySql::getTables() |
Get a list of tables in the database.
File
- core/
includes/ backup/ backup.mysql.inc, line 251 - Contains the BackupMySQL class.
Class
- BackupMySql
- Creates and restores backups from a MySQL database source.
Code
protected function getTables() {
$out = array();
foreach ($this->getTableData() as $table) {
if (!empty($table['engine'])) {
$out[$table['name']] = $table;
}
}
return $out;
}