#310144 by dvessel: Clarify sort parameter in theme_table() documentation.

merge-requests/26/head
Angie Byron 2008-10-22 03:36:47 +00:00
parent 458f8f7882
commit 1fa03d7c33
1 changed files with 3 additions and 1 deletions

View File

@ -1224,7 +1224,9 @@ function theme_submenu($links) {
* - "data": The localized title of the table column. * - "data": The localized title of the table column.
* - "field": The database field represented in the table column (required if * - "field": The database field represented in the table column (required if
* user is to be able to sort on this column). * user is to be able to sort on this column).
* - "sort": A default sort order for this column ("asc" or "desc"). * - "sort": A default sort order for this column ("asc" or "desc"). This
* depends on tablesort_sql() appending sort data when forming queries
* before being passed to theme_table().
* - Any HTML attributes, such as "colspan", to apply to the column header cell. * - Any HTML attributes, such as "colspan", to apply to the column header cell.
* @param $rows * @param $rows
* An array of table rows. Every row is an array of cells, or an associative * An array of table rows. Every row is an array of cells, or an associative