You are here

function backup_migrate_item::get_list_header in Backup and Migrate 8.2

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

Get header for a lost of this type.

1 call to backup_migrate_item::get_list_header()
backup_migrate_item::get_list in includes/crud.inc
Get a table of all items of this type.

File

includes/crud.inc, line 468
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_header() {
  $out = array();
  foreach ($this
    ->get_list_column_info() as $key => $col) {
    $out[] = $col['title'];
  }
  return $out;
}