You are here

function backup_migrate_destination::op in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \backup_migrate_destination::op()
  2. 7.2 includes/destinations.inc \backup_migrate_destination::op()

Does this destination support the given operation.

4 calls to backup_migrate_destination::op()
backup_migrate_destination::can_delete_file in includes/destinations.inc
Determine if we can read the given file.
backup_migrate_destination::can_read_file in includes/destinations.inc
Determine if we can read the given file.
backup_migrate_destination::get_action_links in includes/destinations.inc
Get the action links for a destination.
backup_migrate_destination_files::can_read_file in includes/destinations.file.inc
Determine if we can read the given file.

File

includes/destinations.inc, line 537

Class

backup_migrate_destination
A base class for creating destinations.

Code

function op($op) {
  $ops = (array) $this
    ->ops();
  return in_array($op, $ops);
}