You are here

function backup_migrate_destination_db::get_object_names in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.db.inc \backup_migrate_destination_db::get_object_names()
  2. 7.3 includes/destinations.db.inc \backup_migrate_destination_db::get_object_names()
  3. 7.2 includes/destinations.db.inc \backup_migrate_destination_db::get_object_names()

Get a list of objects in the database.

1 call to backup_migrate_destination_db::get_object_names()
backup_migrate_destination_db::backup_settings_form in includes/destinations.db.inc
Get the form for the backup settings for this destination.

File

includes/destinations.db.inc, line 203
Functions to handle the direct to database destination.

Class

backup_migrate_destination_db
A destination type for saving to a database server.

Code

function get_object_names() {

  // Switch to a different db if specified.
  $this
    ->switch_db();

  // Must be overridden.
  $out = $this
    ->_get_table_names();
  if (method_exists($this, '_get_view_names')) {
    $out += $this
      ->_get_view_names();
  }
  $this
    ->switch_db(TRUE);
  return $out;
}