function backup_migrate_item::get_list_row

nittany7 crud.inc backup_migrate_item::get_list_row()
mooc7 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 modules/contrib/backup_migrate/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 modules/contrib/backup_migrate/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 modules/contrib/backup_migrate/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 modules/contrib/backup_migrate/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 modules/contrib/backup_migrate/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 modules/contrib/backup_migrate/includes/schedules.inc
Get a row of data to be used in a list of items of this type.

File

modules/contrib/backup_migrate/includes/crud.inc, line 479
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;
}