function backup_migrate_schedule::get_destinations in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/schedules.inc \backup_migrate_schedule::get_destinations()
 - 7.3 includes/schedules.inc \backup_migrate_schedule::get_destinations()
 
Get the destination object of the schedule.
3 calls to backup_migrate_schedule::get_destinations()
- backup_migrate_schedule::get_destination in includes/
schedules.inc  - Get the destination object of the schedule.
 - backup_migrate_schedule::get_destination_name in includes/
schedules.inc  - Get the name of the destination.
 - backup_migrate_schedule::remove_expired_backups in includes/
schedules.inc  - Remove older backups keeping only the number specified by the aministrator.
 
File
- includes/
schedules.inc, line 225  - All of the schedule handling code needed for Backup and Migrate.
 
Class
- backup_migrate_schedule
 - A schedule class for crud operations.
 
Code
function get_destinations() {
  backup_migrate_include('destinations');
  $out = array();
  foreach ($this
    ->get_destination_ids() as $id) {
    if ($dest = backup_migrate_get_destination($id)) {
      $out[$id] = $dest;
    }
  }
  return $out;
}