tablesort.inc

tablesort.inc

Functions to aid in the creation of sortable tables.

All tables created when rendering a '#type' => 'table' have the option of having column headers that the user can click on to sort the table by that column.

File

core/includes/tablesort.inc

Functions

Name Description
tablesort_get_order Determines the current sort criterion.
tablesort_get_query_parameters Composes a URL query parameter array for table sorting links.
登录查看完整内容