This example demonstrates how to create a sortable table display.

This is an example describing how a module can display data in a sortable table.

See:

Parent topics

File

modules/examples/tablesort_example/tablesort_example.module, line 7
Hook implementations for the Table Sort Example module.

Functions

Namesort ascending Location Description
tablesort_example_schema modules/examples/tablesort_example/tablesort_example.install Implements hook_schema().
tablesort_example_page modules/examples/tablesort_example/tablesort_example.module Build the table render array.
tablesort_example_menu modules/examples/tablesort_example/tablesort_example.module Implements hook_menu().
tablesort_example_install modules/examples/tablesort_example/tablesort_example.install Implements hook_install().

Classes

Namesort ascending Location Description
TableSortExampleTestCase modules/examples/tablesort_example/tests/tablesort_example.test Functionality tests for the tablesort example module.