You are here

function backup_migrate_get_schedule in Backup and Migrate 5.2

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

Get the schedule info for the schedule with the given ID, or NULL if none exists.

4 calls to backup_migrate_get_schedule()
backup_migrate_schedule_delete_schedule in includes/schedules.inc
Delete a saved schedule from the database.
backup_migrate_ui_schedule_configure in includes/schedules.inc
Get a form to configure the schedule.
backup_migrate_ui_schedule_delete_confirm in includes/schedules.inc
Ask confirmation for deletion of a schedule.
_backup_migrate_schedule_get_links in includes/schedules.inc
Get the action links for a schedule.

File

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

Code

function backup_migrate_get_schedule($schedule_id) {
  $schedules = backup_migrate_get_schedules();
  return @$schedules[$schedule_id];
}