tablesort.inc

Version 1.43.2.2 (checked in on 2009/07/01 at 20:52:11 by drumm)

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 & methods

NameDescription
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.