You are here

function backup_migrate_item::get in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_item::get()
  2. 6.3 includes/crud.inc \backup_migrate_item::get()
  3. 6.2 includes/crud.inc \backup_migrate_item::get()
  4. 7.3 includes/crud.inc \backup_migrate_item::get()
  5. 7.2 includes/crud.inc \backup_migrate_item::get()

Get the member with the given key.

24 calls to backup_migrate_item::get()
backup_migrate_destination::edit_form in includes/destinations.inc
Get the edit form for the item.
backup_migrate_destination::load_files_info in includes/destinations.inc
Load up the file's metadata from the accompanying .info file if applicable.
backup_migrate_item::delete_confirm_message in includes/crud.inc
Get the message to send to the user when confirming the deletion of the item.
backup_migrate_item::edit_form in includes/crud.inc
Get the edit form for the item.
backup_migrate_item::get_list_row in includes/crud.inc
Get a row of data to be used in a list of items of this type.

... See full list

File

includes/crud.inc, line 656
CRUD functions for backup and migrate types (schedules, profiles etc.).

Class

backup_migrate_item
A base class for items which can be stored in the database, listed, edited, deleted etc.

Code

function get($key) {
  if (method_exists($this, 'get_' . $key)) {
    return $this
      ->{'get_' . $key}();
  }
  return @$this->{$key};
}