function list_table_header()
 {
     $headers = parent::list_table_header();
     // Replace the "Title" header with "Label".
     foreach ($headers as $key => $value) {
         if ($value['data'] == t('Title')) {
             $headers[$key]['data'] = t('Label');
             break;
         }
     }
     // Insert the Category header after the first two headers.
     $column = array(array('data' => t('Category'), 'class' => array('ctools-export-ui-category')));
     array_splice($headers, 2, 0, $column);
     return $headers;
 }
 function list_table_header()
 {
     $header = parent::list_table_header();
     $operations = array_pop($header);
     $header[]['data'] = t('Search well profile');
     $header[]['data'] = t('Query');
     $header[]['data'] = t('Exposed');
     $header[] = t('Weight');
     $header[] = $operations;
     return $header;
 }
Beispiel #3
0
 /**
  * Overrides parent::list_table_header.
  */
 public function list_table_header()
 {
     $headers = parent::list_table_header();
     $breakpoints_header[] = array('data' => t('Breakpoint'), 'class' => array('ctools-export-ui-breakpoints'));
     array_splice($headers, 2, 0, $breakpoints_header);
     $skin_header[] = array('data' => t('Skin'), 'class' => array('ctools-export-ui-skin'));
     array_splice($headers, 3, 0, $skin_header);
     return $headers;
 }
 /**
  * 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.
  */
 function list_table_header()
 {
     $header = parent::list_table_header();
     // Add the order columns as the next to last.
     $last = array_pop($header);
     $header[] = array('data' => t('Weight'));
     $header[] = $last;
     return $header;
 }