You are here

function backup_migrate_schedule::get_destination_ids in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/schedules.inc \backup_migrate_schedule::get_destination_ids()
  2. 7.3 includes/schedules.inc \backup_migrate_schedule::get_destination_ids()

Get the destination object of the schedule.

1 call to backup_migrate_schedule::get_destination_ids()
backup_migrate_schedule::get_destinations in includes/schedules.inc
Get the destination object of the schedule.

File

includes/schedules.inc, line 212
All of the schedule handling code needed for Backup and Migrate.

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

function get_destination_ids() {
  $out = array();
  foreach (array(
    'destination_id',
    'copy_destination_id',
  ) as $key) {
    if ($id = $this
      ->get($key)) {
      $out[$key] = $id;
    }
  }
  return $out;
}