public function ultimate_cron_job_ctools_export_ui::list_sort_options in Ultimate Cron 7.2
Provide a list of sort options.
Override this if you wish to provide more or change how these work. The actual handling of the sorting will happen in build_row().
Overrides ctools_export_ui::list_sort_options
File
- plugins/
ctools/ export_ui/ ultimate_cron_job_ctools_export_ui.class.php, line 423 - Export-ui handler for the Ultimate Cron jobs.
Class
- ultimate_cron_job_ctools_export_ui
- Class for cTools Export UI.
Code
public function list_sort_options() {
if (!empty($this->plugin['export']['admin_title'])) {
$options = array(
'disabled' => t('Enabled, module, title'),
$this->plugin['export']['admin_title'] => t('Title'),
);
}
else {
$options = array(
'disabled' => t('Enabled, module, name'),
);
}
$options += array(
'name' => t('Name'),
'start_time' => t('Started'),
'duration' => t('Duration'),
'storage' => t('Storage'),
);
return $options;
}