[ Index ]
 

Code source de Drupal 5.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/ -> tablesort.inc (sommaire)

(pas de description)

Poids: 194 lignes (6 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 7 fonctions

  tablesort_init()
  tablesort_sql()
  tablesort_header()
  tablesort_cell()
  tablesort_get_querystring()
  tablesort_get_order()
  tablesort_get_sort()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

tablesort_init($header)   X-Ref
Initialize the table sort context.


tablesort_sql($header, $before = '')   X-Ref
Create an SQL sort clause.

This function produces the ORDER BY clause to insert in your SQL queries,
assuring that the returned database table rows match the sort order chosen
by the user.

param: $header
param: $before
return:

tablesort_header($cell, $header, $ts)   X-Ref
Format a column header.

If the cell in question is the column header for the current sort criterion,
it gets special formatting. All possible sort criteria become links.

param: $cell
param: $header
param: $ts
return:

tablesort_cell($cell, $header, $ts, $i)   X-Ref
Format a table cell.

Adds a class attribute to all cells in the currently active column.

param: $cell
param: $header
param: $ts
param: $i
return:

tablesort_get_querystring()   X-Ref
Compose a query string to append to table sorting requests.

return:

tablesort_get_order($headers)   X-Ref
Determine the current sort criterion.

param: $headers
return:

tablesort_get_sort($headers)   X-Ref
Determine the current sort direction.

param: $headers
return:



Généré le : Fri Nov 30 16:20:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics