You are here

function backup_migrate_schedule::get_destination in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/schedules.inc \backup_migrate_schedule::get_destination()
  2. 8.3 includes/schedules.inc \backup_migrate_schedule::get_destination()
  3. 6.3 includes/schedules.inc \backup_migrate_schedule::get_destination()
  4. 7.3 includes/schedules.inc \backup_migrate_schedule::get_destination()
  5. 7.2 includes/schedules.inc \backup_migrate_schedule::get_destination()

Get the destination object of the schedule.

3 calls to backup_migrate_schedule::get_destination()
backup_migrate_schedule::get_destination_name in includes/schedules.inc
Get the name of the destination.
backup_migrate_schedule::is_enabled in includes/schedules.inc
Is the schedule enabled and valid.
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 119

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

function get_destination() {
  backup_migrate_include('destinations');
  return backup_migrate_get_destination($this
    ->get('destination_id'));
}