You are here

function backup_migrate_item::get_list_row in Backup and Migrate 6.2

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

Get a row of data to be used in a list of items of this type.

3 calls to backup_migrate_item::get_list_row()
backup_migrate_destination::get_list_row in includes/destinations.inc
Get a row of data to be used in a list of items of this type.
backup_migrate_profile::get_list_row in includes/profiles.inc
Get a row of data to be used in a list of items of this type.
backup_migrate_schedule::get_list_row in includes/schedules.inc
Get a row of data to be used in a list of items of this type.
3 methods override backup_migrate_item::get_list_row()
backup_migrate_destination::get_list_row in includes/destinations.inc
Get a row of data to be used in a list of items of this type.
backup_migrate_profile::get_list_row in includes/profiles.inc
Get a row of data to be used in a list of items of this type.
backup_migrate_schedule::get_list_row in includes/schedules.inc
Get a row of data to be used in a list of items of this type.

File

includes/crud.inc, line 498
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_list_row() {
  $out = array();
  foreach ($this
    ->get_list_column_info() as $key => $col) {
    $out[$key] = empty($col['html']) ? check_plain($this
      ->get($key)) : $this
      ->get($key);
  }
  return $out;
}