function backup_migrate_destination::op

nittany7 destinations.inc backup_migrate_destination::op($op)
mooc7 destinations.inc backup_migrate_destination::op($op)

Does this destination support the given operation.

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

File

modules/contrib/backup_migrate/includes/destinations.inc, line 549
All of the destination handling code needed for Backup and Migrate.

Class

backup_migrate_destination
A base class for creating destinations.

Code

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