You are here

public function stylizer_ui::list_table_header in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 stylizer/plugins/export_ui/stylizer_ui.class.php \stylizer_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

stylizer/plugins/export_ui/stylizer_ui.class.php, line 169

Class

stylizer_ui
UI class for Stylizer.

Code

public function list_table_header() {
  return array(
    array(
      'data' => t('Type'),
      'class' => array(
        'ctools-export-ui-type',
      ),
    ),
    array(
      'data' => t('Name'),
      'class' => array(
        'ctools-export-ui-name',
      ),
    ),
    array(
      'data' => t('Title'),
      'class' => array(
        'ctools-export-ui-title',
      ),
    ),
    array(
      'data' => t('Base'),
      'class' => array(
        'ctools-export-ui-base',
      ),
    ),
    array(
      'data' => t('Storage'),
      'class' => array(
        'ctools-export-ui-storage',
      ),
    ),
    array(
      'data' => t('Operations'),
      'class' => array(
        'ctools-export-ui-operations',
      ),
    ),
  );
}