You are here

public function backup_migrate_source_db_mysql::_get_views in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/sources.db.mysql.inc \backup_migrate_source_db_mysql::_get_views()

Get a list of views in the db.

1 call to backup_migrate_source_db_mysql::_get_views()
backup_migrate_source_db_mysql::_backup_db_to_file in includes/sources.db.mysql.inc
Backup the databases to a file.

File

includes/sources.db.mysql.inc, line 362
Functions to handle the direct to database source.

Class

backup_migrate_source_db_mysql
A source type for backing up from database server.

Code

public function _get_views() {
  $out = array();
  foreach ($this
    ->get_table_data() as $table) {
    if (empty($table['engine'])) {
      $out[$table['name']] = $table;
    }
  }
  return $out;
}