tablesort.inc

Version 1.32 (checked in on 2005/03/31 at 09:25:33 by unconed)

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_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_pagerFetch pager link arguments.
tablesort_sqlCreate an SQL sort clause.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.