You are here

function backup_migrate_item::get in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 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.

12 calls to backup_migrate_item::get()
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.
backup_migrate_item::to_array in includes/crud.inc
Return as an array of values.
backup_migrate_profile::delete_confirm_message in includes/profiles.inc
Get the message to send to the user when confirming the deletion of the item.
backup_migrate_profile::edit_form in includes/profiles.inc
Get the edit form.
backup_migrate_schedule::cron in includes/schedules.inc
Perform the cron action. Run the backup if enough time has elapsed.

... See full list

File

includes/crud.inc, line 400
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};
}