Version

1.48 (checked in on 2008/04/14 at 17:48:33 by dries)

Description

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

Namesort iconDescription
tablesort_cellFormat a table cell.
tablesort_get_orderDetermine the current sort criterion.
tablesort_get_querystringCompose a query string to append to table sorting requests.
tablesort_get_sortDetermine the current sort direction.
tablesort_headerFormat a column header.
tablesort_initInitialize the table sort context.
tablesort_sqlCreate an SQL sort clause.