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

Name Locationsort descending Description
tablesort_example_install modules/examples/tablesort_example/tablesort_example.install Implements hook_install().
tablesort_example_schema modules/examples/tablesort_example/tablesort_example.install Implements hook_schema().
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.

Classes

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