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 TableSort.

Parent topics

File

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

Functions

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

Classes

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