You are here

function services_client_ui::list_table_header in Services Client 7.2

Same name and namespace in other branches
  1. 7 plugins/export_ui/services_client_ui.class.php \services_client_ui::list_table_header()

Provide the table header.

If you've added columns via list_build_row() but are still using a table, override this method to set up the table header.

Overrides ctools_export_ui::list_table_header

File

plugins/export_ui/services_client_ui.class.php, line 176

Class

services_client_ui

Code

function list_table_header() {
  $header = array();
  $header[] = array(
    'data' => t('Title'),
    'class' => array(
      'ctools-export-ui-title',
    ),
  );
  $header[] = array(
    'data' => t('Name'),
    'class' => array(
      'ctools-export-ui-name',
    ),
  );
  $header[] = array(
    'data' => t('Connection'),
    'class' => array(
      'ctools-export-ui-connection',
    ),
  );
  $header[] = array(
    'data' => t('Entity Type'),
    'class' => array(
      'ctools-export-ui-entity-type',
    ),
  );
  $header[] = array(
    'data' => t('Event'),
    'class' => array(
      'ctools-export-ui-event',
    ),
  );
  $header[] = array(
    'data' => t('Handler'),
    'class' => array(
      'ctools-export-ui-handler',
    ),
  );
  $header[] = array(
    'data' => t('Storage'),
    'class' => array(
      'ctools-export-ui-storage',
    ),
  );
  $header[] = array(
    'data' => t('Operations'),
    'class' => array(
      'ctools-export-ui-operations',
    ),
  );
  return $header;
}