You are here

function services_client_ui::list_table_header in Services Client 7

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

Class

services_client_ui

Code

function list_table_header() {
  $header = array();
  if (!empty($this->plugin['export']['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('Title'),
    'class' => array(
      'ctools-export-ui-title',
    ),
  );
  $header[] = array(
    'data' => t('Storage'),
    'class' => array(
      'ctools-export-ui-storage',
    ),
  );
  $header[] = array(
    'data' => t('Operations'),
    'class' => array(
      'ctools-export-ui-operations',
    ),
  );
  return $header;
}