You are here

public function ctools_export_ui::list_render in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 plugins/export_ui/ctools_export_ui.class.php \ctools_export_ui::list_render()

Render all of the rows together.

By default we place all of the rows in a table, and this should be the way most lists will go.

Whatever you do if this method is overridden, the ID is important for AJAX so be sure it exists.

1 call to ctools_export_ui::list_render()
ctools_export_ui::list_page in plugins/export_ui/ctools_export_ui.class.php
Master entry point for handling a list.

File

plugins/export_ui/ctools_export_ui.class.php, line 593

Class

ctools_export_ui
Base class for export UI.

Code

public function list_render(&$form_state) {
  $table = array(
    'header' => $this
      ->list_table_header(),
    'rows' => $this->rows,
    'attributes' => array(
      'id' => 'ctools-export-ui-list-items',
    ),
    'empty' => $this->plugin['strings']['message']['no items'],
  );
  return theme('table', $table);
}