You are here

public function ultimate_cron_job_ctools_export_ui::list_table_header in Ultimate Cron 7.2

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/ctools/export_ui/ultimate_cron_job_ctools_export_ui.class.php, line 399
Export-ui handler for the Ultimate Cron jobs.

Class

ultimate_cron_job_ctools_export_ui
Class for cTools Export UI.

Code

public function list_table_header() {
  $header = array();
  $header[] = array(
    'data' => t('Module'),
    'class' => array(
      'ctools-export-ui-module',
    ),
  );
  if (!empty($this->plugin['export']['admin_title'])) {
    $header[] = array(
      'data' => t('Title'),
      'class' => array(
        'ctools-export-ui-title',
      ),
    );
  }
  $header[] = array(
    'data' => t('Machine Name'),
    'class' => array(
      'ctools-export-ui-machinename',
    ),
  );
  $header[] = array(
    'data' => t('Scheduled'),
    'class' => array(
      'ctools-export-ui-scheduled',
    ),
  );
  $header[] = array(
    'data' => t('Started'),
    'class' => array(
      'ctools-export-ui-start-time',
    ),
  );
  $header[] = array(
    'data' => t('Duration'),
    'class' => array(
      'ctools-export-ui-duration',
    ),
  );
  $header[] = array(
    'data' => t('Status'),
    'class' => array(
      'ctools-export-ui-status',
    ),
  );
  $header[] = array(
    'data' => t('Storage'),
    'class' => array(
      'ctools-export-ui-storage',
    ),
  );
  $header[] = array(
    'data' => t('Operations'),
    'class' => array(
      'ctools-export-ui-operations',
    ),
  );
  return $header;
}