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