tablesort.inc

Functions to aid in the creation of sortable tables.

All tables created with a call to theme('table') have the option of having column headers that the user can click on to sort the table by that column.

File

includes/tablesort.inc

Functions

Name Description
tablesort_cell Formats a table cell.
tablesort_get_order Determines the current sort criterion.
tablesort_get_query_parameters Composes a URL query parameter array for table sorting links.
tablesort_get_sort Determines the current sort direction.
tablesort_header Formats a column header.
tablesort_init Initialize the table sort context.

Classes

Name Description
TableSort Query extender class for tablesort queries.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!tablesort.inc/7.x