tablesort.inc

Version 1.58 (checked in on 2009/12/05 at 20:17:02 by dries)

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.

Functions

NameDescription
tablesort_cellFormat a table cell.
tablesort_get_orderDetermine the current sort criterion.
tablesort_get_query_parametersCompose a URL query parameter array for table sorting links.
tablesort_get_sortDetermine the current sort direction.
tablesort_headerFormat a column header.
tablesort_initInitialize the table sort context.