public function UltimateCronJob::rebuild_ctools_export_ui_table_row in Ultimate Cron 7.2
Rebuild a row on the export ui.
File
- ./
ultimate_cron.job.inc, line 776 - Job class for Ultimate Cron.
Class
- UltimateCronJob
- Class for handling cron jobs.
Code
public function rebuild_ctools_export_ui_table_row() {
ctools_include('export-ui');
$plugin = ctools_get_export_ui('ultimate_cron_job_ctools_export_ui');
$handler = ctools_export_ui_get_handler($plugin);
$operations = $handler
->build_operations($this);
$form_state = array();
$form_state['values']['order'] = '';
$handler
->list_build_row($this, $form_state, $operations);
$row = $handler->rows[$this->name];
$cells = isset($row['data']) ? $row['data'] : $row;
$final_cells = array();
foreach ($cells as $cell) {
$data = _theme_table_cell($cell);
$final_cells[] = $data;
}
return $final_cells;
}